The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu
Support the wiki on our official Ko-Fi page or Patreon page!
Template:Infobox: Difference between revisions
From The Codex
GiverOfThePeace (talk | contribs) (Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <navigation> {{{tabber}}} </navigation> <data source="name"> <label>Name</label> </data> <data source="nickname"> <label>Nicknames</label> </data> <data source="image"> <label>Image</label> </data> <data source="origin"> <label>Origin</label> </data> <data source="kanji"> <label>Jap...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<infobox> | <div class="infobox"> | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | |||
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | |||
<table class="infobox-table">{{#if:{{{param1|}}}|<tr> | |||
<th>Parameter 1</th> | |||
<td>{{{param1}}}</td> | |||
</tr>}}{{#if:{{{param2|}}}|<tr> | |||
<th>Parameter 2</th> | |||
<td>{{{param2}}}</td> | |||
</tr>}}{{#if:{{{param3|}}}|<tr> | |||
<th>Parameter 3</th> | |||
<td>{{{param3}}}</td> | |||
</tr>}}{{#if:{{{param4|}}}|<tr> | |||
<th>Parameter 4</th> | |||
<td>{{{param4}}}</td> | |||
< | </tr>}}{{#if:{{{param5|}}}|<tr> | ||
<th>Parameter 5</th> | |||
<td>{{{param5}}}</td> | |||
< | </tr>}}</table> | ||
</div> | |||
< | |||
< | |||
< | |||
< | |||
< | |||
< | |||
</ | |||
<noinclude> | <noinclude> | ||
Example usage:<pre> | Example usage:<pre> | ||
Line 49: | Line 24: | ||
|title1=Example | |title1=Example | ||
|image1=Example | |image1=Example | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
[[Category:Templates]] | |||
[[Category:Templates/Infobox]] |
Latest revision as of 21:05, 16 March 2024
Infobox
Example usage:
{{Infobox |title1=Example |image1=Example }}