Difference between revisions of "Template:Area"
Jump to navigation
Jump to search
(added to Templates categroy) |
(Added usage recommendation; Restructured the parameter documentation;) |
||
(4 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 | Use this template at the top of pages about an in-game area, such as pages in the [[:Category:Geography|Geography category]]. | ||
==Parameters== | |||
continent< | *<code>areaname</code> | ||
plane - | **Obtain this info in-game from the <tt>SURVEY</tt> command. | ||
*<code>continent</code> | |||
**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> | |||
**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
- Will attempt to link to a heading on the Honour Quests page.
honour2
- Will attempt to link to a heading on the Honour Quests page.
honour3
- 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.
{{area |areaname=Example |continent=Continent of Examples |plane=Plane of Examples |honour1=Examples}}