Difference between revisions of "Template:Infobox person"

From Wikispooks
Jump to navigation Jump to search
(Add | criminal_convictions param)
(Simpler code)
Line 2: Line 2:
 
| bodyclass  = biography vcard
 
| bodyclass  = biography vcard
 
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
 
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
| above      = {{#if: {{{ON_constitutes|}}}|<span class="honorific-prefix" style="font-size: small">"[[{{Capitalize|{{{ON_constitutes}}}}}]]"</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if: {{{constitutes|}}}|<br/><span class="honorific-suffix" style="font-size: small">({{#arraymap:{{{constitutes|}}}|,|x|[[{{Capitalize|x}}]]|,&#32;}})</span><br />}}
+
| above      = {{#if: {{{ON_constitutes|}}}|<span class="honorific-prefix" style="font-size: small">"{{Capitalize|{{{ON_constitutes}}}}}"</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if: {{{constitutes|}}}|<br/><span class="honorific-suffix" style="font-size: small">({{Capitalize|{{{constitutes|}}}}})</span><br />}}
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_width|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_width|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
 
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
 
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
Line 8: Line 8:
 
<!-- BEGIN WikiSpooks specific parameters -->
 
<!-- BEGIN WikiSpooks specific parameters -->
 
<!-- ================================================================ -->
 
<!-- ================================================================ -->
| label73    = Criminal conviction(s)
 
| data73    = {{{criminal_convictions|}}}
 
 
 
| label74    = Exposed
 
| label74    = Exposed
 
| data74    = {{{exposed|}}}
 
| data74    = {{{exposed|}}}
Line 259: Line 256:
 
| data69    = {{{misc5|{{{module5|}}}}}}
 
| data69    = {{{misc5|{{{module5|}}}}}}
 
| data70    = {{{misc6|{{{module6|}}}}}}
 
| data70    = {{{misc6|{{{module6|}}}}}}
 
 
 
}}{{main other|<!--
 
}}{{main other|<!--
  

Revision as of 14:54, 19 June 2015

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

Script error: The function "show" does not exist.