Difference between revisions of "Template:Area"

From Archives of Lusternian Lore
Jump to navigation Jump to search
m (Undo revision 4908 by Hinic (talk))
Tag: Undo
(Added usage recommendation; Restructured the parameter documentation;)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" style="text-align: center; width:25%; float:right; margin-left: 10px;"
<includeonly>{| class="wikitable" style="text-align: center; width:25%; float:right; margin-left: 10px;"
!colspan="2"|{{{areaname}}}
!colspan="2"|{{{areaname}}}
|-
|-
Line 26: Line 26:
{{!}}-
{{!}}-
  | }}
  | }}
|}
|}</includeonly>
 
<noinclude>
<noinclude>
{{area
{{area
Line 34: Line 33:
|plane=Plane of Examples
|plane=Plane of Examples
|honour1=Examples}}
|honour1=Examples}}
Parameters are:<br />
Use this template at the top of pages about an in-game area, such as pages in the [[:Category:Geography|Geography category]].
areaname<br />
==Parameters==
continent<br />
*<code>areaname</code>
plane - will attempt to link to planescape<br />
**Obtain this info in-game from the <tt>SURVEY</tt> command.
honour1 - will attempt to link to the honours page<br />
*<code>continent</code>
honour2<br />
**Obtain this info in-game from the <tt>SURVEY</tt> command.
honour3<br />
*<code>plane</code>
**Obtain this info in-game from the <tt>SURVEY</tt> command.
**Will attempt to link to a heading on the [[Planescape]] page.
*<code>honour1</code>
**Will attempt to link to a heading on the [[Honour Quests]] page.
*<code>honour2</code>
**Will attempt to link to a heading on the [[Honour Quests]] page.
*<code>honour3</code>
**Will attempt to link to a heading on the [[Honour Quests]] page.
==Example==
This is the code that produced the example on the top, right-hand side of this page.
 
<pre><nowiki>{{area
|areaname=Example
|continent=Continent of Examples
|plane=Plane of Examples
|honour1=Examples}}</nowiki></pre>
[[Category: Templates]]
</noinclude>
</noinclude>

Latest revision as of 04:07, 10 July 2022


Example
Continent Continent of Examples
Plane Plane of Examples
Honours Quests
Examples

Use this template at the top of pages about an in-game area, such as pages in the Geography category.

Parameters

  • areaname
    • Obtain this info in-game from the SURVEY command.
  • continent
    • Obtain this info in-game from the SURVEY command.
  • plane
    • Obtain this info in-game from the SURVEY command.
    • Will attempt to link to a heading on the Planescape page.
  • honour1
  • honour2
  • honour3

Example

This is the code that produced the example on the top, right-hand side of this page.

{{area
|areaname=Example
|continent=Continent of Examples
|plane=Plane of Examples
|honour1=Examples}}