Difference between revisions of "Template:GetInsigniaThumb"

From Pathfinder Wiki
(Created page with "<includeonly>[[File:{{{1|No_Patch.png}}}|30px|center]]</includeonly><noinclude> Turns an insignia filename to <nowiki>[[</nowiki>File:''insignia''|30px|center]]. If the first...")
 
Line 2: Line 2:
 
Turns an insignia filename to <nowiki>[[</nowiki>File:''insignia''|30px|center]].  If the first argument is empty, it returns <nowiki>[[</nowiki>File:No_Patch.png|30px|center]].
 
Turns an insignia filename to <nowiki>[[</nowiki>File:''insignia''|30px|center]].  If the first argument is empty, it returns <nowiki>[[</nowiki>File:No_Patch.png|30px|center]].
 
----
 
----
{{GetInsigniaThumb}}
+
<nowiki>{{GetInsigniaThumb}}</nowiki> -> {{GetInsigniaThumb}}
 +
 
 +
<nowiki>{{GetInsigniaThumb|Smell_AY_Honour.png}}</nowiki> -> {{GetInsigniaThumb|Smell_AY_Honour.png}}
  
 
</noinclude>
 
</noinclude>

Revision as of 17:03, 28 February 2021

Turns an insignia filename to [[File:insignia|30px|center]]. If the first argument is empty, it returns [[File:No_Patch.png|30px|center]].


{{GetInsigniaThumb}} ->

No Patch.png

{{GetInsigniaThumb|Smell_AY_Honour.png}} ->

Smell AY Honour.png