Difference between revisions of "Quest table header/Documentation"

(Created page with "==Description== Used as a header for a Quest table. Used in conjunction with Quest table body. ==Usage== <pre> {{shop table header}} TBD {{table footer}} </pr...")
 
 
Line 2: Line 2:
 
Used as a header for a [[Quest]] table. Used in conjunction with [[Template:Quest table body]].
 
Used as a header for a [[Quest]] table. Used in conjunction with [[Template:Quest table body]].
 
==Usage==
 
==Usage==
<pre>
+
e.g. To display the quests that give 'Campfire' as a reward:
{{shop table header}}
+
<pre>{{#ask: [[Has reward::?;Campfire]]
TBD
+
|?Has quest giver
{{table footer}}
+
|?Has reward|+index=2
</pre><includeonly>[[Category:Table templates]]</includeonly>
+
|?Has reward|+index=3
 +
|?Has reward|+index=4
 +
|format=template
 +
|introtemplate=quest table header
 +
|template=quest table body
 +
|outrotemplate=table footer
 +
}}</pre><includeonly>[[Category:Table templates]]</includeonly>

Latest revision as of 21:28, 16 February 2024

Description[edit]

Used as a header for a Quest table. Used in conjunction with Quest table body.

Usage[edit]

e.g. To display the quests that give 'Campfire' as a reward:

{{#ask: [[Has reward::?;Campfire]]
|?Has quest giver
|?Has reward|+index=2
|?Has reward|+index=3
|?Has reward|+index=4
|format=template
|introtemplate=quest table header
|template=quest table body
|outrotemplate=table footer
}}