Template:Infobox/doc: Difference between revisions

From VNDev Wiki
Created page with "== Usage == {{tl|Infobox}} is a meta-template used to organise an actual <nowiki>{{Infobox sometopic}}</nowiki> template like {{tl|Infobox software}}. For <code><nowiki>Template:Infobox sometopic</nowiki></code>, template code looks like this, simplified: <pre> {{Infobox | name = {{{name|{{PAGENAME}}}}} | image = {{{image|}}} | caption1 = {{{caption|}}} | label1 = Former names | data1 = {{{former_names|}}} | header2 = General information | label3..."
 
m Categorization
Line 28: Line 28:
<includeonly>
<includeonly>
[[Category:Infobox templates| ]]
[[Category:Infobox templates| ]]
[[Category:Wikipedia metatemplates|Infobox]]
[[Category:Metatemplates|Infobox]]
</includeonly>
</includeonly>

Revision as of 12:14, 18 June 2022

Usage

{{Infobox}} is a meta-template used to organise an actual {{Infobox sometopic}} template like {{Infobox software}}.

For [[Template:Infobox sometopic]], template code looks like this, simplified:

{{Infobox
| name     = {{{name|{{PAGENAME}}}}}
| image    = {{{image|}}}
| caption1 = {{{caption|}}}

| label1   = Former names
|  data1   = {{{former_names|}}}

| header2  = General information

| label3   = Status
|  data3   = {{{status|}}}
...

| label99   = Status
|  data99   = {{{status|}}}
}}

More Information