Difference between revisions of "Template:Infobox"

From PotterworldMC
Jump to: navigation, search
m (Remove blank lines)
m (Remove image hyperlink)
Line 3: Line 3:
 
{{!}} style="width: 400px;" colspan="2" {{!}}
 
{{!}} style="width: 400px;" colspan="2" {{!}}
 
{{#if:{{{image|}}}|<nowiki/>
 
{{#if:{{{image|}}}|<nowiki/>
−
[[File:{{{image}}}|400x400px]]}}
+
[[File:{{{image}}}|400x400px|link=]]}}
 
{{{!}}
 
{{{!}}
 
{{!}}- style="background: #c2b280; text-align: center; color: #000000; height: 20px"  
 
{{!}}- style="background: #c2b280; text-align: center; color: #000000; height: 20px"  

Revision as of 22:08, 28 January 2025

Example Use

{{Template: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

Zin.png

Information
Medical Incident The Black Death
Involved Location(s) Merlin’s Magical Hospital
Lore Credit(s) myriadofanger, tqrpiar