Template:Quest/Cutscene: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Aramachus m added minimal example |
imported>Aramachus removed styling as it is done by the parent template css classes |
||
| Line 1: | Line 1: | ||
<includeonly>|- |
<includeonly>|- |
||
!{{{1}}} |
|||
! width="150px" class="infobox-quest-header"| {{{1}}} |
|||
| |
|{{{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]] |
||
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 |
|---|