Template:Infobox: Difference between revisions
(naming params) Tag: 2017 source edit |
(setting up example infobox) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
Second verse, same as the first, little bit louder and a whole lot worse. | Second verse, same as the first, little bit louder and a whole lot worse. | ||
Edit code to see this infobox: | |||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{ | <div class="infobox-title">{{{Title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | ||
<table class="infobox-table">{{#if:{{{param1|}}}|<tr> | <table class="infobox-table">{{#if:{{{param1|}}}|<tr> | ||
Line 21: | Line 23: | ||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> | ||
Example of this infobox: | |||
{{Infobox | |||
| title = Example character | |||
| image = | |||
| age = 26 | |||
| name = Kilroy | |||
| hometown = Stamford, CT, USA | |||
| type = O Positive | |||
| sign = Taurus | |||
}} |
Revision as of 17:11, 19 April 2024
Second verse, same as the first, little bit louder and a whole lot worse.
Edit code to see this infobox:
Infobox
Example of this infobox:
Second verse, same as the first, little bit louder and a whole lot worse.
Edit code to see this infobox:
Infobox
Age | 26 |
---|---|
Hometown | Stamford, CT, USA |
Sign | Taurus |
Blood Type | O Positive |
Example of this infobox:
Template loop detected: Template:Infobox