Difference between revisions of "Template:Drug"

From RimWorld Wiki
Jump to navigation Jump to search
(syntax fix)
(Make drug category capitalized.)
Line 1: Line 1:
<includeonly>{{#vardefine: drug_cat|{{#show: {{PAGENAME}} | ?Drug Category|link=none}}}}
+
<includeonly>{{#vardefine: drug_cat|{{ucfirst:{{#show: {{PAGENAME}} | ?Drug Category|link=none}}}}}}
 
{{Infobox/Thing|Drug|Drugs|{{#var: drug_cat}} Drug|{{#var: drug_cat}} Drugs|c_24}}{{#set:Tags=Template:Drugs/Tags}}</includeonly>
 
{{Infobox/Thing|Drug|Drugs|{{#var: drug_cat}} Drug|{{#var: drug_cat}} Drugs|c_24}}{{#set:Tags=Template:Drugs/Tags}}</includeonly>

Revision as of 18:05, 28 April 2017