Difference between revisions of "Template:Area"

Jump to navigation Jump to search
826 bytes added ,  04:07, 10 July 2022
Added usage recommendation; Restructured the parameter documentation;
(Added usage recommendation; Restructured the parameter documentation;)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable" style="text-align: center; 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>
2,563

edits

Navigation menu