Template:Quest: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) (Created page with "<h2>Quest</h2> {{#if:{{{parents|}}}|<!--TRUE-->'''Quests Required to Unlock This Quest'''<br/><p style="margin-left: 1.6em;">{{{parents}}}</p>|<!--FALSE-->}}<!-- -->'''Type of...") |
CptTwinkie (talk | contribs) mNo edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<h2>Quest</h2> | <h2>[[:Category:Research and Quests|Quest]] Information</h2> | ||
{{#if:{{{parents|}}}|<!--TRUE-->'''Quests Required to Unlock This Quest'''<br/><p style="margin-left: 1.6em;">{{{parents}}}</p>|<!--FALSE-->}}<!-- | {{#if:{{{parents|}}}|<!--TRUE-->'''Quests Required to Unlock This Quest'''<br/><p style="margin-left: 1.6em;">{{{parents}}}</p>|<!--FALSE-->}}<!-- | ||
-->'''Type of Quest''' | -->'''Type of Quest''' | ||
{{#if:{{{tag|}}}|<!--TRUE | {{#if:{{{tag|}}}|<!--TRUE | ||
-->{{#switch: {{{tag|default}}} | -->{{#switch: {{{tag|default}}} | ||
| Tutorial = <p style="margin-left: 1.6em;">[[:Category:Research and Quests/Tutorials|Tutorial]]<includeonly>[[Category:Research and Quests/Tutorials]]</includeonly></p> | | Tutorial = <p style="margin-left: 1.6em;">[[:Category:Research and Quests/Tutorials|Tutorial]]{{#ifeq:{{lc:{{{nocat|}}}}}|true|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Research and Quests/Tutorials]]</includeonly>}}</p> | ||
| Research = <p style="margin-left: 1.6em;">Research</p>'''Research Branch'''<p style="margin-left: 1.6em;">{{#switch: {{{branch|default}}} | | Research = <p style="margin-left: 1.6em;">[[:Category:Research_and_Quests|Research]]</p>'''Research Branch'''<p style="margin-left: 1.6em;">{{#switch: {{{branch|default}}} | ||
| civilian = [[:Category:Research and Quests/Civilian Branch|Civilian | | civilian = [[:Category:Research and Quests/Civilian Branch|Civilian]]<includeonly>[[Category:Research and Quests/Civilian Branch]]</includeonly> | ||
| economic = [[:Category:Research and Quests/Economic Branch|Economic | | economic = [[:Category:Research and Quests/Economic Branch|Economic]]<includeonly>[[Category:Research and Quests/Economic Branch]]</includeonly> | ||
| military = [[:Category:Research and Quests/Military Branch|Military | | military = [[:Category:Research and Quests/Military Branch|Military]]<includeonly>[[Category:Research and Quests/Military Branch]]</includeonly> | ||
| <!-- default -->}}</p> | | <!-- default -->}}</p> | ||
| <!-- default --><p style="margin-left: 1.6em;"><Information Missing><includeonly>[[Category:Information_missing]]</includeonly></p>}} | | <!-- default --><p style="margin-left: 1.6em;"><Information Missing><includeonly>[[Category:Information_missing]]</includeonly></p>}} | ||
|<!--FALSE--><p style="margin-left: 1.6em;"><Information Missing><includeonly>[[Category:Information_missing]]</includeonly></p>}}<!-- | |<!--FALSE--><p style="margin-left: 1.6em;"><Information Missing><includeonly>[[Category:Information_missing]]</includeonly></p>}}<!-- | ||
-->'''Items Unlocked''' | -->'''Items Unlocked''' | ||
<p style="margin-left: 1.6em;">{{#if:{{{unlocks|}}}|<!--TRUE-->{{{unlocks}}}|<!--FALSE--> | <p style="margin-left: 1.6em;">{{#if:{{{unlocks|}}}|<!--TRUE-->{{{unlocks}}}|<!--FALSE-->None}}</p><!-- | ||
--><includeonly>[[Category:Research and Quests]]</includeonly><noinclude> | -->{{#ifeq:{{lc:{{{nocat|}}}}}|true|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Research and Quests]]</includeonly>}}<noinclude> | ||
==Usage== | ==Usage== | ||
The | The Quest template is meant to be used on quest pages only. | ||
<pre>{{Quest | <pre>{{Quest | ||
|parents=<List of quests> | |parents=<List of quests> | ||
Line 33: | Line 33: | ||
:: [[:Category:Research and Quests/Economic Branch]] | :: [[:Category:Research and Quests/Economic Branch]] | ||
:: [[:Category:Research and Quests/Military Branch]] | :: [[:Category:Research and Quests/Military Branch]] | ||
{{:Template Ordering}} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 12:38, 12 September 2018
Quest Information
Type of Quest
<Information Missing>
Items Unlocked
None
Usage
The Quest template is meant to be used on quest pages only.
{{Quest |parents=<List of quests> |tag=<Tag?> |branch=<civilian/economic/military?> |unlocks=<List of items?> }}
- The code above can be pasted into your page and edited.
- Any of the attributes can be left out entirely and they will be ignored or not displayed at all. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
- Templates adds Category:Research and Quests.
- The following categories are added conditionally:
ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.