Difference between revisions of "Template:Infobox"
(Create Infobox template) |
m (Add category) |
||
| (26 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly>{{{!}} style="float: right; width: 400px;" | + | <includeonly>{{{!}} class="infobox" style="float: right; width: 400px; margin: 10px" |
| − | {{!}}- style="background: #414148; text-align: center;" | + | {{!}}- style="background: #414148; text-align: center;" |
| − | {{!}} style="width: 400px;" colspan="2" {{!}} | + | {{!}} style="width: 400px; text-align: center;" colspan="2" {{!}} |
{{#if:{{{image|}}}|<nowiki/> | {{#if:{{{image|}}}|<nowiki/> | ||
| − | [[File:{{{image}}}| | + | [[File:{{{image}}}|400px|link=]]}} |
{{{!}} | {{{!}} | ||
| − | {{!}}- style="background: #c2b280; text-align: center; color: #000000; height: 20px" | + | {{!}}- style="background: #c2b280; text-align: center; color: #000000; height: 20px; width: 400px;" |
{{!}} style="width: 400px; height: 20px; text-align: center;" colspan="2" {{!}} '''Information''' | {{!}} style="width: 400px; height: 20px; text-align: center;" colspan="2" {{!}} '''Information''' | ||
{{!}}- style="background: #e4dbbf; height: 20px; text-align: left; color: #000000;" | {{!}}- style="background: #e4dbbf; height: 20px; text-align: left; color: #000000;" | ||
| Line 55: | Line 55: | ||
{{!}} style="width: 250px;" {{!}} {{{data10}}} | {{!}} style="width: 250px;" {{!}} {{{data10}}} | ||
}}<!-- | }}<!-- | ||
| − | + | --> | |
| − | + | {{!}}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{!} | ||
| − | |||
| − | |||
| − | }} | ||
{{!}}} | {{!}}} | ||
| − | {{!}}}</ | + | </includeonly><noinclude>=Example Use= |
| − | + | <pre>{{Infobox | |
| + | |image=Zin.png | ||
| + | |header1=Medical Incident | ||
| + | |data1=The Black Death | ||
| + | |header2=Involved Location(s) | ||
| + | |data2=[[Merlin's Magical Hospital{{!}}Merlin’s Magical Hospital]] | ||
| + | |header3=Lore Credit(s) | ||
| + | |data3=myriadofanger, tqrpiar | ||
| + | }}</pre> | ||
| + | Up to 10 rows of data can be included within the "Information" table of this template. An image is not required for the template to work, but at least 1 row of data must be input for the table. | ||
| − | = | + | ==Result== |
| − | {{ | + | {{Infobox |
|image=Zin.png | |image=Zin.png | ||
|header1=Medical Incident | |header1=Medical Incident | ||
| Line 96: | Line 82: | ||
[[Category: Templates]] | [[Category: Templates]] | ||
| + | [[Category: Infoboxes]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:39, 8 March 2025
Example Use
{{Infobox
|image=Zin.png
|header1=Medical Incident
|data1=The Black Death
|header2=Involved Location(s)
|data2=[[Merlin's Magical Hospital{{!}}Merlin’s Magical Hospital]]
|header3=Lore Credit(s)
|data3=myriadofanger, tqrpiar
}}
Up to 10 rows of data can be included within the "Information" table of this template. An image is not required for the template to work, but at least 1 row of data must be input for the table.
Result
|
| |||||||||