Difference between revisions of "Template:Infobox"

From Appropedia
Jump to navigation Jump to search
Line 509: Line 509:
 
  |class={{{class99|}}}  |rowclass={{{rowclass99|}}}
 
  |class={{{class99|}}}  |rowclass={{{rowclass99|}}}
 
}}</table><templatestyles src="Infobox/styles.css" /><includeonly>{{#set:
 
}}</table><templatestyles src="Infobox/styles.css" /><includeonly>{{#set:
|Has image = {{{image|}}}
+
|Has title = {{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}
 +
|Has image = {{#ifexist:Media:{{{image|}}}|File:{{{image}}}}}
 +
|Has image caption = {{{caption|}}}
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</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