Difference between revisions of "Template:Stat Modifier/Row"

From RimWorld Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
{{#vardefine: stat_name | {{{3|Breathing}}} }}
 
{{#vardefine: stat_name | {{{3|Breathing}}} }}
 
{{#vardefine: stat_comp | {{{2|Offset}}} }}
 
{{#vardefine: stat_comp | {{{2|Offset}}} }}
{{#vardefine: stat      | {{{3|Breathing}}} {{{2|Offset}}} }}
+
{{#vardefine: stat_full | {{{3|Breathing}}} {{{2|Offset}}} }}
  
 
{| class="wikitable"
 
{| class="wikitable"
 
<onlyinclude>
 
<onlyinclude>
{{#if: {{Q| {{#var: page_name}} | {{#var: stat}} }}|
+
{{#if: {{Q| {{#var: page_name}} | {{#var: stat_full}} }}|
 
{{!}}-
 
{{!}}-
 
{{Tag/HR}} {{#var: stat_name}}
 
{{Tag/HR}} {{#var: stat_name}}
{{!}}{{Q| {{#var: page_name}} | {{#var: stat}} }}|
+
{{!}}{{Q| {{#var: page_name}} | {{#var: stat_full}} }}|no row
 
}}</onlyinclude>
 
}}</onlyinclude>
 
|}
 
|}
Line 17: Line 17:
 
# {{{2|}}} {{#var: stat_comp}}
 
# {{{2|}}} {{#var: stat_comp}}
 
# {{{3|}}} {{#var: stat_name}}
 
# {{{3|}}} {{#var: stat_name}}
# Stat: {{#var: stat}}
+
# Stat:   {{#var: stat_full}}
# Result: {{Q| {{#var: page_name}} | {{#var: stat}} }}
+
# Result: {{Q| {{#var: page_name}} | {{#var: stat_full}} }}
 
</onlyinclude>
 
</onlyinclude>

Revision as of 05:36, 9 September 2016




no row
  1. Luciferium
  2. Offset
  3. Breathing
  4. Stat: Breathing Offset
  5. Result: