Difference between revisions of "Template:Infobox cardinal styles"

From blackwiki
Jump to navigation Jump to search
imported>Mangwanani
m (Update image override control)
imported>Plastikspork
(standard field naming conventions)
Line 2: Line 2:
 
| background  = #f66
 
| background  = #f66
 
| name        = {{{cardinal name|{{{{{|safesubst:}}}PAGENAME}}}}}
 
| name        = {{{cardinal name|{{{{{|safesubst:}}}PAGENAME}}}}}
| image      = [[Image:{{{{{|safesubst:}}}#if:{{{image|}}}|{{{image}}}|CardinalCoA_PioM.svg}}|{{px|{{{imgw|}}}|60px}}]]
+
| image      = [[Image:{{{{{|safesubst:}}}#if:{{{image|}}}|{{{image}}}|CardinalCoA_PioM.svg}}|{{px|{{{image_size|}}}|60px}}]]
 
| reference  = {{{dipstyle<includeonly>|</includeonly>}}}
 
| reference  = {{{dipstyle<includeonly>|</includeonly>}}}
 
| spoken      = {{{offstyle<includeonly>|</includeonly>}}}
 
| spoken      = {{{offstyle<includeonly>|</includeonly>}}}

Revision as of 23:13, 1 May 2011

Styles of
Infobox cardinal styles
Template:Px
Reference style{{{dipstyle}}}
Spoken style{{{offstyle}}}
Informal styleCardinal
See{{{See}}}

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Template:Wraps infobox

Usage

  1. redirect Template:Parameter names example

The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields.

{{Infobox cardinal styles
| name     =
| dipstyle = 
| offstyle = 
| relstyle = 
| See      =
| image    =
}}

To override the default image, add

| image    = CardinalCoA_PioM.svg

where "CardinalCoA_PioM.svg" is the name of the image.

Microformat

Template:UF-hcard-person