Difference between revisions of "Template:L10n/row"
From PCGamingWiki, the wiki about fixing PC games
Tag: Undo |
m (replaced default property assignment with #set property assignment) |
||
Line 5: | Line 5: | ||
<td>{{Tickcross-na|{{#if: {{{subs|}}} | {{{subs}}} | unknown }}|{{{lang}}} subtitles}}</td> | <td>{{Tickcross-na|{{#if: {{{subs|}}} | {{{subs}}} | unknown }}|{{{lang}}} subtitles}}</td> | ||
<td>{{{notes|}}}{{#ifeq: {{lc:{{{fan|}}}}} | yes | [[{{{lang}}} status::fan| ]]{{#if:{{{notes|}}}||[[Category:Invalid template usage (Audio settings)]]}}| {{#if:{{{fannotes|}}}|<br/>{{{fannotes|}}}[[{{{lang}}} status::fan| ]][[Category:Invalid template usage (Audio settings)]] | [[{{{lang}}} status::official| ]] }} }}</td> | <td>{{{notes|}}}{{#ifeq: {{lc:{{{fan|}}}}} | yes | [[{{{lang}}} status::fan| ]]{{#if:{{{notes|}}}||[[Category:Invalid template usage (Audio settings)]]}}| {{#if:{{{fannotes|}}}|<br/>{{{fannotes|}}}[[{{{lang}}} status::fan| ]][[Category:Invalid template usage (Audio settings)]] | [[{{{lang}}} status::official| ]] }} }}</td> | ||
− | </tr> | + | </tr>{{#set:|{{{lang}}} notes={{{notes|}}}}}[[{{{lang}}} notes::{{{fannotes|}}}| ]]</includeonly><noinclude> |
'''Current template issues''' | '''Current template issues''' | ||
* inline links <code><nowiki>[[#target|link text]]</nowiki></code> causes the following: | * inline links <code><nowiki>[[#target|link text]]</nowiki></code> causes the following: | ||
Line 11: | Line 11: | ||
:* adds another <code>|</code> which causes the game title to disappear in lists of fan localizations | :* adds another <code>|</code> which causes the game title to disappear in lists of fan localizations | ||
* references also break the table, seemingly? | * references also break the table, seemingly? | ||
+ | |||
+ | '''Testing''' | ||
+ | * Replacing the problematic <code><nowiki>[[{{{lang}}} notes::{{{notes|}}}| ]]</nowiki></code> with #set instead: <code><nowiki>{{#set:|{{{lang}}} notes={{{notes|}}}}}</nowiki></code> | ||
</noinclude> | </noinclude> |
Revision as of 02:25, 7 March 2019
Current template issues
- inline links
[[#target|link text]]
causes the following:
- duplication of the note text (although shown above the localization table)
- adds another
|
which causes the game title to disappear in lists of fan localizations
- references also break the table, seemingly?
Testing
- Replacing the problematic
[[{{{lang}}} notes::{{{notes|}}}| ]]
with #set instead:{{#set:|{{{lang}}} notes={{{notes|}}}}}