Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:L10n/row"

From PCGamingWiki, the wiki about fixing PC games
m (Undo revision 701984 by Aemony (talk) didn't work)
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>[[{{{lang}}} notes::{{{notes|}}}| ]][[{{{lang}}} notes::{{{fannotes|}}}| ]]</includeonly><noinclude>
+
</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|}}}}}