Template:CitizenImage

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(new function, +cat +doc)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:{{#ifexist:Image:CIV-{{{name}}}.jpg | CIV-{{{name}}}.jpg | Unknown_Citizen.jpg}}|{{#if:{{{size|}}}|{{{size}}}px |150px }}]]<noinclude>
+
[[Image:{{#ifexist:Image:CIV-{{{name}}}.jpg | CIV-{{{name}}}.jpg | Unknown_Citizen.jpg}}|150px}}]]<noinclude>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
==Function==
 
==Function==

Latest revision as of 15:29, 9 June 2022

150px}}

Function

Place a citizen image or the "Image not available" image automatically. Optionally resize to specified pixel width.

Usage

{{CitizenImage|name=(Full Roman name)|size=(width in pixels)}}

Personal tools