Difference between revisions of "Template:Infobox"

From PotterworldMC
Jump to: navigation, search
(Create Infobox template)
 
m (Add documentation)
Line 1: Line 1:
 +
 
<includeonly>{{{!}} style="float: right; width: 400px;"
 
<includeonly>{{{!}} style="float: right; width: 400px;"
 
{{!}}- style="background: #414148; text-align: center;"  
 
{{!}}- style="background: #414148; text-align: center;"  
Line 85: Line 86:
  
 
=Example Use=
 
=Example Use=
−
{{PWMC Infobox
+
<pre>{{PWMC Infobox|image=Zin.png
−
|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==
 +
{{PWMC Infobox|image=Zin.png
 
|header1=Medical Incident
 
|header1=Medical Incident
 
|data1=The Black Death
 
|data1=The Black Death

Revision as of 00:48, 2 January 2025



Example Use

{{PWMC 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

Template:PWMC Infobox