Template:Costume: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m (Trying to add tabs to switch between model and artwork. We'll see if this works :P)
m (trying to add no image pic if files do not exist)
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
! colspan="{{#if: {{{location2|}}}|3|2}}" style="width: 310px"| {{{name}}}
! colspan="{{#if: {{{location2|}}}|3|2}}" style="width: 310px"| {{{name}}}
|-
|-
! colspan="{{#if: {{{location2|}}}|3|2}}" style="width: 310px"| {{#if: {{{image|}}}|[[File:{{{image}}}{{!}}300px]]|{{T2D{{!}}width=325{{!}}
! colspan="{{#if: {{{location2|}}}|3|2}}" style="width: 310px"| {{#if: {{{image|}}}|{{#ifexist: File:{{{image}}}|[[File:{{{image}}}{{!}}300px]]|[[File:No Image.png{{!}}300px]]}}|{{#if: {{{model|}}}|{{#if: {{{art|}}}|<center>{{Costume/Tabs|{{{model}}}|{{{art}}}}}</center>|{{#ifexist: File:{{{model}}}|[[File:{{{model}}}{{!}}300px]]|[[File:No Image.png{{!}}300px]]}}}}|{{#ifexist: File:{{{art}}}|[[File:{{{art}}}{{!}}300px]]|[[File:No Image.png{{!}}300px]]}}}}}}
  {{T2D/Content{{!}}Model{{!}}[[File:{{{model}}}|300px]]}}
  {{T2D/Content{{!}}Art{{!}}[[File:{{{art}}}|300px]]}}
{{!}} left =
  {{T2D/Tabset{{!}}
    {{T2D/Tab{{!}}Model}}
    {{T2D/Tab{{!}}Art}}
  }}  
}}}}
|-
|-
!{{#if: {{{location2|}}}|rowspan="2" {{!}}}} Location
!{{#if: {{{location2|}}}|rowspan="2" {{!}}}} Location
Line 17: Line 9:
{{!-}}
{{!-}}
! style="width: 50px" {{!}} 3DS & Switch
! style="width: 50px" {{!}} 3DS & Switch
{{!}} {{{location2}}}|{{!}}{{{location}}}}}
{{!}} {{{location2}}}|{{!}} {{{location}}}}}
|-
|-
! {{#if: {{{location2|}}}|colspan="2" {{!}}}} DLC Pack
! {{#if: {{{location2|}}}|colspan="2" {{!}}}} DLC Pack

Latest revision as of 09:29, August 12, 2021

{{{name}}}
No Image.png
Location {{{location}}}
DLC Pack {{{dlc}}}

[Edit Documentation] This template creates a table to display a costume from Hyrule Warriors.

Usage

{{Costume
| name = 
| model = 
| art = 
| location = 
| dlc = 
| notes = 
}}


  • name — The name of the costume.
  • model — The costume's in-game model.
  • art — Artwork of the costume. (Optional.)
  • location — The location of the costume. This does not need to be used if there are differences between the Wii U, 3DS, and Switch versions.
  • location1 — The location of the costume on Wii U. (Optional.)
  • location2 — The location of the costume on 3DS and Switch. (Optional.)
  • dlc — The DLC pack that the costume was added in.
  • notes — Any additional notes, such as what the costume is based on or whether or not it appears only in one version of the game. (Optional.)


ExampleResult
{{Costume
| name = Guardian of Time
| model = HW Lana Guardian of Time Book.png
| art = HW Lana Guardian of Time Artwork.png
| location1 = DLC Purchase
| location2 = Master Quest Map E-2
| dlc = Master Quest Pack
}}
Guardian of Time
  • Model
  • Art
HW Lana Guardian of Time Book.png
HW Lana Guardian of Time Artwork.png
Location Wii U DLC Purchase
3DS & Switch Master Quest Map E-2
DLC Pack Master Quest Pack