Difference between revisions of "User:Aemony/Sandbox/TemplateRowFanTranslation"
From PCGamingWiki, the wiki about fixing PC games
< User:Aemony | Sandbox
m (test) |
m (s) |
||
Line 10: | Line 10: | ||
{{!}} data-sort-value="{{#switch:{{{8|}}}|true = 1|hackable = 2|unknown = 3|false = 4 | 5}}" {{!}} {{#switch:{{{8|}}}|true = <div title="Native support" class="svg-icon svg-25 tickcross-true"></div>|false = <div title="No native support" class="svg-icon svg-25 tickcross-false"></div>|hackable = <div title="Hackable" class="svg-icon svg-25 tickcross-hackable"></div>|unknown = <div title="Unknown" class="svg-icon svg-25 tickcross-unknown"></div>|#default = <div title="Not applicable" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div>}} | {{!}} data-sort-value="{{#switch:{{{8|}}}|true = 1|hackable = 2|unknown = 3|false = 4 | 5}}" {{!}} {{#switch:{{{8|}}}|true = <div title="Native support" class="svg-icon svg-25 tickcross-true"></div>|false = <div title="No native support" class="svg-icon svg-25 tickcross-false"></div>|hackable = <div title="Hackable" class="svg-icon svg-25 tickcross-hackable"></div>|unknown = <div title="Unknown" class="svg-icon svg-25 tickcross-unknown"></div>|#default = <div title="Not applicable" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div>}} | ||
{{!}}{{!}} {{{9|}}} | {{!}}{{!}} {{{9|}}} | ||
− | | {{!}} {{#ifeq: {{{5|}}} | fan, official | | + | | {{!}} {{#ifeq: {{#arraymap:{{{5|}}}|€€€€|@@@@|@@@@|, }} | fan, official | |
<!-- If fan is defined before official --> | <!-- If fan is defined before official --> | ||
− | {{#switch:{{{6|}}} | + | {{#switch:{{#arraymap:{{{6|}}}|€€€€|@@@@|@@@@|, }} |
|true | |true | ||
|true, hackable | |true, hackable | ||
Line 31: | Line 31: | ||
|#default = data-sort-value="5" {{!}} <div title="Not applicable" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div> | |#default = data-sort-value="5" {{!}} <div title="Not applicable" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div> | ||
}} | }} | ||
− | {{!}} {{#switch:{{{7|}}} | + | {{!}} {{#switch:{{#arraymap:{{{7|}}}|€€€€|@@@@|@@@@|, }} |
|true | |true | ||
|true, hackable | |true, hackable | ||
Line 50: | Line 50: | ||
|#default = data-sort-value="5" {{!}} <div title="Not applicable" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div> | |#default = data-sort-value="5" {{!}} <div title="Not applicable" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div> | ||
}} | }} | ||
− | {{!}} {{#switch:{{{8|}}} | + | {{!}} {{#switch:{{#arraymap:{{{8|}}}|€€€€|@@@@|@@@@|, }} |
|true | |true | ||
|true, hackable | |true, hackable | ||
Line 71: | Line 71: | ||
| | | | ||
<!-- If fan is defined after official --> | <!-- If fan is defined after official --> | ||
− | {{#switch:{{{6|}}} | + | {{#switch:{{#arraymap:{{{6|}}}|€€€€|@@@@|@@@@|, }} |
|true | |true | ||
|hackable, true | |hackable, true | ||
Line 90: | Line 90: | ||
|#default = data-sort-value="5" {{!}} <div title="Not applicable" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div> | |#default = data-sort-value="5" {{!}} <div title="Not applicable" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div> | ||
}} | }} | ||
− | {{!}} {{#switch:{{{7|}}} | + | {{!}} {{#switch:{{#arraymap:{{{7|}}}|€€€€|@@@@|@@@@|, }} |
|true | |true | ||
|hackable, true | |hackable, true | ||
Line 109: | Line 109: | ||
|#default = data-sort-value="5" {{!}} <div title="Not applicable" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div> | |#default = data-sort-value="5" {{!}} <div title="Not applicable" class="svg-icon svg-25 tickcross tickcross-not-applicable"></div> | ||
}} | }} | ||
− | {{!}} {{#switch:{{{8|}}} | + | {{!}} {{#switch:{{#arraymap:{{{8|}}}|€€€€|@@@@|@@@@|, }} |
|true | |true | ||
|hackable, true | |hackable, true |
Revision as of 09:08, 6 March 2019
- TODO
- **DONE** Handle n/a cases (BETTER! probably interferes with dual value cases atm!)
- **DONE** Handle dual value cases
- **DONE** Add newlines for the Notes column