Difference between revisions of "Template:Infobox"

From Project Einherjar
(Undo revision 41 by Derpy (talk))
(Tag: Undo)
Line 2: Line 2:
 
<pre>
 
<pre>
 
{{Infobox
 
{{Infobox
|name        = {{subst:PAGENAME}}
+
|name        = {{subst:PAGENAME}}
|bodystyle    =  
+
|bodystyle    =  
 
+
|titlestyle  =  
|titlestyle  =  
+
|abovestyle = background:#cfc;
|abovestyle = background:#cfc;
+
|subheaderstyle =
|subheaderstyle =
+
|above        = Class
|above        = Class
+
|imagestyle  =  
 
+
|captionstyle =  
|imagestyle  =  
+
|image      = [[File:Example.jpg|200px|alt=Example alt text]]
|captionstyle =  
+
|headerstyle  = background:#ccf;
|image      = [[File:Example.jpg|200px|alt=Example alt text]]
+
|labelstyle  = background:#ddf;
 
+
|datastyle    =  
|headerstyle  = background:#ccf;
+
|header1 = Class
|labelstyle  = background:#ddf;
+
|label1 = 1-1
|datastyle    =  
+
|data1 = Adept
 
+
|header2 =  
|header1 = Class
+
|label2 = 2-1
| label1 = 1-1
+
|data2 = Mystic
| data1 = 1st Job
+
|header3 =
|header2 =  
+
|label3 = 2-2
| label2 = 2-1
+
|data3 = Viking
| data2 = 2nd Job
+
|header4 =
|header3 =
+
|label4 = 2-1 (Trans)
| label3 = 2-2
+
|data4 = Arcane
| data3 = 2nd Job
+
|header5 =
|header4 =
+
|label5 = 2-2 (Trans)
| label4 = 2-1 (Trans)
+
|data5 = Huskarl
| data4 = 2nd Job Trans
+
}}</pre>
|header5 =
 
| label5 = 2-2 (Trans)
 
| data5 = 2nd Job Trans
 
}}
 
</pre>
 
[[Category:Templates]]
 

Revision as of 18:38, 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 = Adept
|header2 = 
|label2 = 2-1
|data2 = Mystic
|header3 =
|label3 = 2-2
|data3 = Viking
|header4 =
|label4 = 2-1 (Trans)
|data4 = Arcane
|header5 =
|label5 = 2-2 (Trans)
|data5 = Huskarl
}}