Difference between revisions of "Template:Infobox"

From Appropedia
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<div class="infobox {{{bodyclass|}}}" style="{{{bodystyle|}}}">{{#if:{{{form|}}}|
 
<div class="infobox {{{bodyclass|}}}" style="{{{bodystyle|}}}">{{#if:{{{form|}}}|
<div class="infobox-edit">[[File:OOjs UI icon edit-ltr.svg|25px|link=Special:FormEdit/{{{form}}}/{{FULLPAGENAME}}|Edit the infobox]]</div>}}{{#if:{{{above|}}}|
+
<div class="infobox-edit">[[File:Edit.svg|25px|link=Special:FormEdit/{{{form}}}/{{FULLPAGENAME}}|Edit the infobox]]</div>}}{{#if:{{{above|}}}|
 
<div class="infobox-above {{{aboveclass|}}}" style="{{{abovestyle|}}}">{{{above}}}</div>}}
 
<div class="infobox-above {{{aboveclass|}}}" style="{{{abovestyle|}}}">{{{above}}}</div>}}
 
<div class="infobox-title {{{titleclass|}}}" style="{{{titlestyle|}}}">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}</div>{{#if:{{{below|}}}|
 
<div class="infobox-title {{{titleclass|}}}" style="{{{titlestyle|}}}">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}</div>{{#if:{{{below|}}}|

Latest revision as of 12:39, 25 November 2020

Infobox

Template documentation[edit]

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

Basic usage[edit source]

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[edit source]