Template:Infobox/doc: Difference between revisions

m Examples: <source>, {{para}}
Pmb1226 (talk | contribs)
m Protected "Template:Infobox/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
From Wikipedia
{{distinguish|Template:Userbox}}
{{distinguish|Template:Userbox}}
{{Documentation subpage}}
{{Documentation subpage}}
<includeonly>{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|old ||{{High-use|3,000,000+}}{{Lua|Module:Infobox}}}}</includeonly>
<includeonly>{{#ifeq:{{#titleparts:{{PAGENAME}}|1|2}}|old ||{{High-use|3,000,000+}}{{Lua|Module:Infobox}}}}</includeonly>
{{Parameter names example
{{Parameter names example
  |name={{PAGENAME}} <!--|child |subbox |decat--> |title |above |subheader |subheader1 |subheader2={{{subheader2}}}<br/>......
  |title={{PAGENAME}} <!--|child |subbox |decat--> |title |above |subheader |subheader1 |subheader2={{{subheader2}}}<br/>......
  |image|caption |image1|caption1 |image2|caption2={{{caption2}}}<br/>......
  |image|caption |image1|caption1 |image2|caption2={{{caption2}}}<br/>......
  |header1=<div style="border-top:1px dashed #ccc;">{{{header1}}}<br/>{{nobold|( ''or'' )}}</div>
  |header1=<div style="border-top:1px dashed #ccc;">{{{header1}}}<br/>{{nobold|( ''or'' )}}</div>
Line 23: Line 24:
<pre>
<pre>
{{Infobox
{{Infobox
| name     = {{{name|{{PAGENAME}}}}}
| title     = {{{name|{{PAGENAME}}}}}
| image    = {{{image|}}}
| image    = {{{image|}}}
| caption1 = {{{caption|}}}}}}
| caption1 = {{{caption|}}}}}}


| label1  = Former names
| header2 = About this screamer or shock site
| data1  = {{{former_names|}}}


| header2  = General information
| label1  = Maker
 
| label2  = Release date
| label3  = Status
| label3   = Type
| label4   = Status
|  data3  = {{{status|}}}
|  data3  = {{{status|}}}
... <!-- etc. -->
... <!-- etc. -->
Line 56: Line 57:


{{Infobox
{{Infobox
  | name = Infobox/doc
  | title = Infobox/doc
  | title      = Text in caption over infobox
  | title      = Text in caption over infobox
  | subheader  = Subheader of the infobox
  | subheader  = Subheader of the infobox
Line 63: Line 64:
<pre style="overflow:auto">
<pre style="overflow:auto">
{{Infobox
{{Infobox
  | name = {{subst:PAGENAME}}
  | title = {{subst:PAGENAME}}
  | title      = Text in caption over infobox
  | title      = Text in caption over infobox
  | subheader  = Subheader of the infobox
  | subheader  = Subheader of the infobox
Line 71: Line 72:


{{Infobox
{{Infobox
  | name = Infobox/doc
  | title = Infobox/doc
  | above      = Text in uppermost cell of infobox
  | above      = Text in uppermost cell of infobox
  | subheader  = Subheader of the infobox
  | subheader  = Subheader of the infobox
Line 79: Line 80:
<pre style="overflow:auto">
<pre style="overflow:auto">
{{Infobox
{{Infobox
  | name = {{subst:PAGENAME}}
  | title = {{subst:PAGENAME}}
  | above      = Text in uppermost cell of infobox
  | above      = Text in uppermost cell of infobox
  | subheader  = Subheader of the infobox
  | subheader  = Subheader of the infobox
Line 296: Line 297:
<source lang="Sass" style="overflow:auto" highlight="15">
<source lang="Sass" style="overflow:auto" highlight="15">
{{Infobox
{{Infobox
  |name        = {{subst:PAGENAME}}
  |name        = Infobox/doc
  |bodystyle    =  
  |bodystyle    =  


Line 371: Line 372:
<source lang="sass" highlight="3,9" style="overflow: auto">
<source lang="sass" highlight="3,9" style="overflow: auto">
{{Infobox
{{Infobox
  |name        = {{subst:PAGENAME}}
  |name        = Infobox/doc
  |bodystyle  = width:20em
  |bodystyle  = width:20em