Difference between revisions of "Template:Transient infobox"

escape other semi-colons
(escape semi-colons in base skill 1 raw desc var)
(escape other semi-colons)
Line 153: Line 153:
}}
}}


<!-- escape semi-colons to not run into issues when setting it as a value in the record property -->
{{#vardefine:base skill 1 raw desc|
{{#vardefine:base skill 1 raw desc|
  {{#if: {{#var:base skill 1 subobj|}}
  {{#if: {{#var:base skill 1 subobj|}}
Line 186: Line 187:
{{#vardefine:base skill 2 raw desc|
{{#vardefine:base skill 2 raw desc|
  {{#if: {{#var:base skill 2 subobj|}}
  {{#if: {{#var:base skill 2 subobj|}}
  |{{#show: {{#var:base skill 2 subobj}} |?Has raw English description }}
  |{{#replace:{{#show: {{#var:base skill 2 subobj}} |?Has raw English description }}|;|\;}}
  }}
  }}
}}
}}
Line 217: Line 218:
{{#vardefine:base skill 3 raw desc|
{{#vardefine:base skill 3 raw desc|
  {{#if: {{#var:base skill 3 subobj|}}
  {{#if: {{#var:base skill 3 subobj|}}
  |{{#show: {{#var:base skill 3 subobj}} |?Has raw English description }}
  |{{#replace:{{#show: {{#var:base skill 3 subobj}} |?Has raw English description }}|;|\;}}
  }}
  }}
}}
}}
Line 248: Line 249:
{{#vardefine:base skill 4 raw desc|
{{#vardefine:base skill 4 raw desc|
  {{#if: {{#var:base skill 4 subobj|}}
  {{#if: {{#var:base skill 4 subobj|}}
  |{{#show: {{#var:base skill 4 subobj}} |?Has raw English description }}
  |{{#replace:{{#show: {{#var:base skill 4 subobj}} |?Has raw English description }}|;|\;}}
  }}
  }}
}}
}}
698

edits