Difference between revisions of "Template:Infobox"

From PotterworldMC
Jump to: navigation, search
m (Remove random space)
m (Prevent merging of pages into template)
Line 56: Line 56:
 
{{!}} style="width: 250px;" {{!}} {{{data10}}}
 
{{!}} style="width: 250px;" {{!}} {{{data10}}}
 
}}<!--
 
}}<!--
−
{{#if:{{{header11|}}}|<nowiki/>
+
-->
−
{{!}}- style="background: #e4dbbf; height: 20px; text-align: left; color: #000000;"
 
−
{{!}} style="width: 150px;" {{!}} '''{{{header11}}}'''
 
−
{{!}} style="width: 250px;" {{!}} {{{data11}}}
 
−
}}
 
−
{{#if:{{{header12|}}}|<nowiki/>
 
−
{{!}}- style="background: #e4dbbf; height: 20px; text-align: left; color: #000000;"
 
−
{{!}} style="width: 150px;" {{!}} '''{{{header12}}}'''
 
−
{{!}} style="width: 250px;" {{!}} {{{data12}}}
 
−
}}
 
−
{{#if:{{{header13|}}}|<nowiki/>
 
−
{{!}}- style="background: #e4dbbf; height: 20px; text-align: left; color: #000000;"
 
−
{{!}} style="width: 150px;" {{!}} '''{{{header13}}}'''
 
−
{{!}} style="width: 250px;" {{!}} {{{data13}}}
 
−
}}
 
−
{{#if:{{{header14|}}}|<nowiki/>
 
−
{{!}}- style="background: #e4dbbf; text-align: left; color: #000000;"
 
−
{{!}} style="width: 150px;" {{!}} '''{{{header14}}}'''
 
−
{{!}} style="width: 250px;" {{!}} {{{data14}}}
 
−
}}
 
−
{{#if:{{{header15|}}}|<nowiki/>
 
−
{{!}}- style="background: #e4dbbf; text-align: left; color: #000000;"
 
−
{{!}} style="width: 150px;" {{!}} '''{{{header15}}}'''
 
−
{{!}} style="width: 250px;" {{!}} {{{data15}}}
 
−
}}
 
 
{{!}}}
 
{{!}}}
−
{{!}}}</includeonly>
+
{{!}}}
 +
</includeonly>
 
<noinclude>
 
<noinclude>
 
=Example Use=
 
=Example Use=

Revision as of 01:01, 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