Template:Quest/Cutscene: Difference between revisions

From HorizonXI Wiki
m (added minimal example)
(removed styling as it is done by the parent template css classes)
 
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
! width="150px" class="infobox-quest-header"| {{{1}}}
!{{{1}}}
|class="infobox-quest-field"| {{{2}}}
|{{{2}}}
</includeonly><noinclude>
</includeonly><noinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
This is a helper template to enter table syntax into the quest infobox table.
'''The styling is done by the parent tables css class.'''
<pre>
<pre>
{{Quest
{{Quest
Line 14: Line 19:
}}
}}
</pre>
</pre>
template produces


{|
{|
{{Quest/Cutscene|name of cs|npc name and location}}
{{Quest/Cutscene|name of cs|npc name and location}}
|}
|}
which turns into e.g.:
{| class="horizon-infobox infobox-quest infobox-34-66 table-xs"
{{Quest/Cutscene|name of cs|npc name and location}}
|}
==See Also==
==See Also==
*[[Template:Quest]]
*[[Template:Quest]]
*[[Template:Quest/Description]]
*[[Template:Quest/Description]]
</noinclude>
</noinclude>

Latest revision as of 23:49, 9 September 2023

Usage

This is a helper template to enter table syntax into the quest infobox table.

The styling is done by the parent tables css class.

{{Quest
...
| cutscenes = 
{{Quest/Cutscene|<name>|<npc>}}
{{Quest/Cutscene|<name>|<npc>}}
{{Quest/Cutscene|<name>|<npc>}}
}}

template produces

name of cs npc name and location

which turns into e.g.:

name of cs npc name and location

See Also