Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
template:quest_infobox_doc [2024/10/09 18:09] – Adapt docs to template changes. williamjcm | template:quest_infobox_doc [2024/10/24 13:07] (current) – Fix namespacing in the docs. williamjcm |
---|
<noinclude><< [[template:quest_infobox]]</noinclude> | <noinclude><< [[template:quest_infobox]]</noinclude> |
| |
This template is used to add an infobox to quest pages (under the [[:quests|quests:]] namespace). | This template is used to add an infobox to contract pages (under the [[:contracts|contracts:]] namespace). |
| |
==== Usage ==== | ==== Usage ==== |
| |
''<nowiki>{{wst>quest_infobox|<who gives the quest>|<where to turn it in>|<the faction the quest is aligned with>|<the reward>|<the penalty for a failure>}}</nowiki>'' | ''<nowiki>{{wst>quest_infobox|<who gives the contract>|<where to turn it in>|<the faction the contract is aligned with>|<the reward>|<the penalty for a failure>}}</nowiki>'' |
| |
If the quest is found at the global board and/or needs to be turned in there, use the ''<nowiki>{{wst>global_board}}</nowiki>'' template in the corresponding argument. For NPCs, use the [[template:link_maker|link_maker]] template (e.g. ''<nowiki>{{wst>link_maker|npc:simmi|Simmi}}</nowiki>'' to link to [[npc:simmi|Simmi]]'s page). | If the contract is found at the global board and/or needs to be turned in there, use the ''<nowiki>{{wst>global_board}}</nowiki>'' template in the corresponding argument. For NPCs, use the [[template:link_maker|link_maker]] template (e.g. ''<nowiki>{{wst>link_maker|npcs:simmi|Simmi}}</nowiki>'' to link to [[npcs:simmi|Simmi]]'s page). |
| |
==== Output ==== | ==== Output ==== |
| |
{{wst>quest_infobox|{{wst>global_board}}|{{wst>link_maker|npc:simmi|Simmi}}|{{wst>link_maker|factions:freelancers|Freelancers}}|500$|10$}} | {{wst>quest_infobox|{{wst>global_board}}|{{wst>link_maker|npcs:simmi|Simmi}}|{{wst>link_maker|factions:freelancers|Freelancers}}|500$|10$}} |