Difference between revisions of "Infobox IPC"

(Changed categories.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Infobox IPC
 
{{Infobox IPC
  | headerstyle = background-color:#eee;
+
  |name        = Infobox IPC
  | labelstyle = background-color:#eee;
+
|bodystyle    =
  | header1 = Main 1
+
 
  | header2 = Main 2
+
|titlestyle  =
  |  data3 = {{Infobox | subbox = yes
+
|abovestyle = background:#cfc;
    | headerstyle = background-color:#ccc;
+
  |subheaderstyle =
    | labelstyle = background-color:#ddd;
+
|title        = Test Infobox
    | header1 = Sub 3-1
+
  |above        = Above text
    | header2 = Sub 3-2
+
  |subheader    = Subheader above image
    |  label3 = Label 3-3    |   data3 = Data 3-3
+
  |subheader2  = Second subheader
  }}
+
 
  |   data4 = {{Infobox | subbox = yes
+
  |imagestyle   =  
    | labelstyle = background-color:#ccc;
+
|captionstyle =
    label1 = Label 4-1    |  data1 = Data 4-1
+
|  image      = [[File:Example-serious.jpg|200px|alt=Example alt text]]
  }}
+
|caption      = Caption displayed below Example-serious.jpg
  |  label5 = Label 5 |   data5 = Data 5
+
 
  | header6 = Main 6
+
|headerstyle = background:#ccf;
 +
|labelstyle   = background:#ddf;
 +
|datastyle    =
 +
 
 +
|header1 = Header defined alone
 +
| label1 =
 +
|  data1 =
 +
|header2 =  
 +
| label2 = Label defined alone does not display (needs data, or is suppressed)
 +
|  data2 =
 +
|header3 =
 +
  | label3 =  
 +
| data3 = Data defined alone
 +
  |header4 = All three defined (header, label, data, all with same number)
 +
| label4 = does not display (same number as a header)
 +
data4 = does not display (same number as a header)
 +
|header5 =
 +
  | label5 = Label and data defined (label)
 +
  |  data5 = Label and data defined (data)
 +
 
 +
|belowstyle = background:#ddf;
 +
  |below      = Below text
 
}}
 
}}
 +
[[Category:Internal]]

Latest revision as of 17:15, 19 May 2017

Lua error: Internal error: The interpreter exited with status 127.{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:(Pages)|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox IPC|Infobox||{{#ifeq:Infobox|Infobox|}}}} | other | #default = }}