Difference between revisions of "Template:Infobox"

From Project Einherjar
(Usage)
(Usage)
Line 1: Line 1:
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
 +
{{Infobox
 +
|name        = {{subst:PAGENAME}}
 +
|bodystyle    =
 +
 +
|titlestyle  =
 +
|abovestyle = background:#cfc;
 +
|subheaderstyle =
 +
|above        = Class
 +
 +
|imagestyle  =
 +
|captionstyle =
 +
|image      = [[File:Example.jpg|200px|alt=Example alt text]]
 +
 +
|headerstyle  = background:#ccf;
 +
|labelstyle  = background:#ddf;
 +
|datastyle    =
  
{{Infobox
+
|header1 = Class
| name = <Item Name Here>
+
| label1 = 1-1
| image = <File Name Here>
+
| data1 = 1st Job
| type = <Item Type Here>
+
|header2 =  
| job = <Job Type Here>
+
| label2 = 2-1
| description = <Item Description Here>
+
|  data2 = 2nd Job
 +
|header3 =
 +
| label3 = 2-2
 +
|  data3 = 2nd Job
 +
|header4 =
 +
| label4 = 2-1 (Trans)
 +
|  data4 = 2nd Job Trans
 +
|header5 =
 +
| label5 = 2-2 (Trans)
 +
|  data5 = 2nd Job Trans
 
}}
 
}}
 
 
</pre>
 
</pre>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 18:25, 3 December 2018

Usage

{{Infobox
 |name         = {{subst:PAGENAME}}
 |bodystyle    = 

 |titlestyle   = 
 |abovestyle = background:#cfc;
 |subheaderstyle =
 |above        = Class

 |imagestyle   = 
 |captionstyle = 
 |image      = [[File:Example.jpg|200px|alt=Example alt text]]

 |headerstyle  = background:#ccf;
 |labelstyle   = background:#ddf;
 |datastyle    = 

 |header1 = Class
 | label1 = 1-1
 |  data1 = 1st Job
 |header2 = 
 | label2 = 2-1
 |  data2 = 2nd Job
 |header3 =
 | label3 = 2-2
 |  data3 = 2nd Job
 |header4 =
 | label4 = 2-1 (Trans)
 |  data4 = 2nd Job Trans
 |header5 =
 | label5 = 2-2 (Trans)
 |  data5 = 2nd Job Trans
}}