Difference between revisions of "Template:Infobox"

From Appropedia
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 508: Line 508:
 
  |data={{{data99|}}}    |datastyle={{{datastyle|}}}
 
  |data={{{data99|}}}    |datastyle={{{datastyle|}}}
 
  |class={{{class99|}}}  |rowclass={{{rowclass99|}}}
 
  |class={{{class99|}}}  |rowclass={{{rowclass99|}}}
}}</table><templatestyles src="Infobox/styles.css" /><noinclude>{{Documentation}}</noinclude>
+
}}</table><templatestyles src="Infobox/styles.css" /><includeonly>{{#set:
 +
|Has title = {{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}
 +
|Has image = {{#ifexist:Media:{{{image|}}}|File:{{{image}}}}}
 +
|Has image caption = {{{caption|}}}
 +
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 17:46, 22 September 2020

Infobox

Template documentation[edit]

This template is as a metatemplate: a template used for constructing other templates. It is not meant for use directly in content pages.

Basic usage

This is an advanced template. Before using or modifying it, you should be familiar with templates in general. Then look at how it's used on existing infoboxes and follow the examples.

See also