Difference between revisions of "Template:Infobox"

From
Jump to: navigation, search
wp_>Primefac
(Undid revision 855063393 by Jdlrobson (talk) rather problematic change mentioned on talk page, rever...)
 
(Created page, cloned content from the Wikipedia template of the same name.)
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
+
{{Infobox
{{documentation}}
+
|name        = Infobox
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
+
|bodystyle    =
</noinclude>
+
 
 +
|titlestyle  =
 +
|abovestyle  = background:#cfc;
 +
|subheaderstyle =
 +
|title        = Test Infobox
 +
|above        = Above text
 +
|subheader    = Subheader above image
 +
|subheader2  = Second subheader
 +
 
 +
|imagestyle  =
 +
|captionstyle =
 +
| image      = [[File:Example-serious.jpg|200px|alt=Example alt text]]
 +
|caption      = Caption displayed below Example-serious.jpg
 +
 
 +
|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
 +
}}

Revision as of 10:32, 17 August 2020

Infobox
[[File:200px|200px]]

PDF | Zenodo

Document metadata