Difference between revisions of "Template:Area"

611 bytes added ,  04:07, 10 July 2022
Added usage recommendation; Restructured the parameter documentation;
(Cleaned up the documentation.)
(Added usage recommendation; Restructured the parameter documentation;)
 
Line 33: Line 33:
|plane=Plane of Examples
|plane=Plane of Examples
|honour1=Examples}}
|honour1=Examples}}
Use this template at the top of pages about an in-game area, such as pages in the [[:Category:Geography|Geography category]].
==Parameters==
==Parameters==
*<code>areaname</code> - Obtain this in-game from the <tt>SURVEY</tt> command.
*<code>areaname</code>
*<code>continent</code> - Obtain this in-game from the <tt>SURVEY</tt> command.  
**Obtain this info in-game from the <tt>SURVEY</tt> command.
*<code>plane</code> - will attempt to link to planescape
*<code>continent</code>
*<code>honour1</code> - will attempt to link to the honours page
**Obtain this info in-game from the <tt>SURVEY</tt> command.  
*<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>
*<code>honour2</code>
**Will attempt to link to a heading on the [[Honour Quests]] page.
*<code>honour3</code>
*<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]]
[[Category: Templates]]
</noinclude>
</noinclude>
2,595

edits