Difference between revisions of "Template:Infobox Localization"
Jump to navigation
Jump to search
Neon Knight (talk | contribs) |
Neon Knight (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly>{{Navbox|title=We're moving!|body=The localization project is moving to [https://github.com/NeonKnightOA/unreal-localization the Github repository]. Completed and incomplete pages will be transferred there.|color=green}}{{#if:{{{game|}}} | {{#switch:{{{game|}}} | None = | {{#ifexpr: ({{{lines_done}}} >= 0) and ({{{lines_total}}} > 0) and ({{{lines_done}}} < {{{lines_total}}}) | {{Untranslated | language={{{language}}} | game={{{game}}} }} | }} }} | }}{{#if:{{{game2|}}} | {{#ifexpr: ({{{lines_done2}}} >= 0) and ({{{lines_total2}}} > 0) and ({{{lines_done2}}} < {{{lines_total2}}}) | {{Untranslated | language={{{language}}} | game={{{game2}}} }} | }} | }}{{#if:{{{name|}}} | {{Infobox Localization/Other languages | name={{{name}}} }} | }}{{Infobox/HeaderNoImage | <includeonly>{{Navbox|title=We're moving!|body=The localization project is moving to [https://github.com/NeonKnightOA/unreal-localization the Github repository]. Completed and incomplete pages will be transferred there.|color=green}}{{#if:{{{game|}}} | {{#switch:{{{game|}}} | None = | {{#ifexpr: ({{{lines_done}}} >= 0) and ({{{lines_total}}} > 0) and ({{{lines_done}}} < {{{lines_total}}}) | {{Untranslated | language={{{language}}} | game={{{game}}} }} | }} }} | }}{{#if:{{{game2|}}} | {{#ifexpr: ({{{lines_done2}}} >= 0) and ({{{lines_total2}}} > 0) and ({{{lines_done2}}} < {{{lines_total2}}}) | {{Untranslated | language={{{language}}} | game={{{game2}}} }} | }} | }}{{#if:{{{name|}}} | {{Infobox Localization/Other languages | name={{{name}}} }} | }}{{Infobox/HeaderNoImage | ||
|title={{#if:{{{name|}}} | <abbr title="DOESN'T include the language-specific extension.">{{{name}}}</abbr> | {{PAGENAME}}[[Category:Wikify this page]] }} | |title={{#if:{{{name|}}} | <abbr title="DOESN'T include the language-specific extension.">{{{name}}}</abbr> | {{PAGENAME}}{{#if:{{{doc|}}}||[[Category:Wikify this page]]}} }} | ||
|color_border=#888888 | |color_border=#888888 | ||
|bgcolor=#cccccc | |bgcolor=#cccccc | ||
Line 49: | Line 49: | ||
Game 1 categories | Game 1 categories | ||
================= | ================= | ||
-->{{#switch:{{{game}}} | None = [[Category:Localizations without a game]] [[Category:{{{language}}} localizations without a game]] | <!-- | -->{{#switch:{{{game}}} | None = {{if:{{{doc|}}}||[[Category:Localizations without a game]] [[Category:{{{language}}} localizations without a game]]}} | <!-- | ||
================= | ================= | ||
Only appliable if game exists | Only appliable if game exists | ||
================= | ================= | ||
--> [[Category:{{{game}}} Localization]] [[Category:{{{game}}} {{{language}}} Localization]] {{#ifexpr: ({{{lines_done}}} > 0) and ({{{lines_total}}} > 0) and ({{{lines_done}}} >= {{{lines_total}}}) | [[Category:{{{game}}} Completed Localization Files]][[Category:{{{game}}} Completed {{{language}}} Localization Files]] | [[Category:{{{game}}} Incomplete Localization Files]][[Category:{{{game}}} Incomplete {{{language}}} Localization Files]] }} }}<!-- | --> {{#if:{{{doc|}}}||[[Category:{{{game}}} Localization]] [[Category:{{{game}}} {{{language}}} Localization]]}} {{#ifexpr: ({{{lines_done}}} > 0) and ({{{lines_total}}} > 0) and ({{{lines_done}}} >= {{{lines_total}}}) | {{#if:{{{doc|}}}||[[Category:{{{game}}} Completed Localization Files]][[Category:{{{game}}} Completed {{{language}}} Localization Files]]}} | {{#if:{{{doc|}}}||[[Category:{{{game}}} Incomplete Localization Files]][[Category:{{{game}}} Incomplete {{{language}}} Localization Files]]}} }} }}<!-- | ||
================= | ================= | ||
Game 2 categories | Game 2 categories | ||
Line 61: | Line 61: | ||
Only appliable if game2 exists | Only appliable if game2 exists | ||
================= | ================= | ||
-->[[Category:{{{game2}}} Localization]] [[Category:{{{game2}}} {{{language}}} Localization]] {{#ifexpr: ({{{lines_done2}}} > 0) and ({{{lines_total2}}} > 0) and ({{{lines_done2}}} >= {{{lines_total2}}}) | [[Category:{{{game2}}} Completed Localization Files]][[Category:{{{game2}}} Completed {{{language}}} Localization Files]] | [[Category:{{{game2}}} Incomplete Localization Files]][[Category:{{{game2}}} Incomplete {{{language}}} Localization Files]] }} | <!-- | -->{{#if:{{{doc|}}||[[Category:{{{game2}}} Localization]] [[Category:{{{game2}}} {{{language}}} Localization]]}} {{#ifexpr: ({{{lines_done2}}} > 0) and ({{{lines_total2}}} > 0) and ({{{lines_done2}}} >= {{{lines_total2}}}) | {{#if:{{{doc|}}}||[[Category:{{{game2}}} Completed Localization Files]][[Category:{{{game2}}} Completed {{{language}}} Localization Files]]}} | {{#if:{{{doc|}}}||[[Category:{{{game2}}} Incomplete Localization Files]][[Category:{{{game2}}} Incomplete {{{language}}} Localization Files]]}} }} | <!-- | ||
================= | ================= | ||
If not, return nothing | If not, return nothing |
Revision as of 02:04, 11 April 2021
Template documentation follows |
---|
Visit Template:Infobox_Localization/doc to edit this documentation. (How does this work?) |
Infobox templates |
---|
Infobox Localization | |
---|---|
Class | Infobox |
An infobox for the Oldunreal Localization Project. It's used on the individual file pages. Supports up to 3 games. If a mod is used, it replaces the first game.
{{Infobox Localization |name= |language= |isModPage= |mod= |game= |lines_done= |lines_total= |game2= |lines_done2= |lines_total2= |game3= |lines_done3= |lines_total3= }}