Template:Infobox Weapon: Difference between revisions

Template page
(First time making one of these so I hope it's good (?))
 
m (Updated to include tabber support)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
-->{{Infobox
-->{{Infobox
| bodyclass = vcard outcell
| bodyclass = vcard outcell
| bodystyle  =text-align: left; width: 300px;
| bodystyle  =text-align: left;
| above      ={{#if:{{{nameJp|}}} |'''{{lang|ja|{{{nameJp}}}}}'''<br />}}{{{nameEn|}}}
| above      ={{#if:{{{nameJp|}}} |'''{{lang|ja|{{{nameJp}}}}}'''<br />}}{{{nameEn|}}}
| aboveclass  =vcard; incell_top
| aboveclass  =vcard; incell_top
Line 9: Line 9:
| datastyle  =text-align: left;
| datastyle  =text-align: left;


| image      ={{{image|No image}}}
| image      ={{{image|{{#invoke:Tabs|main
 
|containerclass=character-imageset
|tab1={{{imagelabel7|}}}|content1={{{image7|}}}
|tab2={{{imagelabel6|}}}|content2={{{image6|}}}
|tab3={{{imagelabel5|}}}|content3={{{image5|}}}
|tab4={{{imagelabel4|}}}|content4={{{image4|}}}
|tab5={{{imagelabel3|}}}|content5={{{image3|}}}
|tab6={{{imagelabel2|}}}|content6={{{image2|}}}
|tab7={{{imagelabel1|}}}|content7={{{image1|}}}
}}}}}
| label1      =Weapon Name
| label1      =Weapon Name
| data1      ={{{name|}}}
| data1      ={{{name|}}}
Line 24: Line 32:


-->
-->
See also [[Template:Infobox]] and [[Template:Infobox Character]].
See also [[Template:Infobox]] and [[Template:Infobox Character]].


Line 49: Line 56:
</nowiki></pre>
</nowiki></pre>


[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:49, 5 January 2024

See also Template:Infobox and Template:Infobox Character.

Jp name
En name

Image

Weapon Name

Weapon Name

Weapon Type

Weapon Type

Classification

Classification

Usage

{{Infobox Weapon
| nameJp           =Name in Japanese
| nameEn           =Name in English
| name             =Weapon Name
| image            =Image
| type             =Type of weapon
| class            =Classification of weapon
}}