Difference between revisions of "Template:Area"

From Archives of Lusternian Lore
Jump to navigation Jump to search
(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>

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}}