Difference between revisions of "Template:Infobox Localization"

From Oldunreal-Wiki
Jump to navigation Jump to search
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr: ({{{lines_done}}} > 0) and ({{{lines_total}}} > 0) and ({{{lines_done}}} < {{{lines_total}}}) | {{Untranslated | language={{{language}}} | game={{{game}}} }} | {{#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><!--
|title={{#if:{{{name|}}} | <abbr title="DOESN'T include the language-specific extension.">{{{name}}}</abbr> | {{PAGENAME}} }}
===============
Notice: Localization Project
===============
-->{{Navbox|title=Localization Project page|body=This page belongs to the [[OldUnreal Localization Project]]. We aim to localize the game to other languages as flawlessly as possible, with the least amount of errors possible (ideally 0).{{#switch:{{{language}}}|English=<br />This is a file for the English language, the game's default. This file should be used as a base for the rest of the languages.|<br />In order to achieve such objective, '''we need your help'''. Some of these lines contain computer-generated strings which need to be reviewed by actual native or fluent {{{language}}} speakers. Also '''these lines aren't final''', they're always subject to modification, and we're sure better strings can (and will be) eventually found.}}<br />The localization project is also available at [https://github.com/NeonKnightOA/unreal-localization the Github repository]. Completed and incomplete pages will be adapted there once complete.|color=green}}<!--
===============
Notice: Untranslated lines
===============
-->{{#if:{{{game|}}} | {{#if:{{{isModPage|}}} | {{#switch:{{{mod|}}} | None = | {{#ifexpr: ({{{lines_done}}} >= 0) and ({{{lines_total}}} > 0) and ({{{lines_done}}} < {{{lines_total}}}) | {{Untranslated | language={{{language}}} | game={{{mod}}} }} | }} }} | {{#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:{{{game3|}}} | {{#ifexpr: ({{{lines_done3}}} >= 0) and ({{{lines_total3}}} > 0) and ({{{lines_done3}}} < {{{lines_total3}}}) | {{Untranslated | language={{{language}}} | game={{{game3}}} }} | }} | }}<!--
===============
This page in other languages
===============
-->{{#if:{{{name|}}} | {{Infobox Localization/Other languages | name={{{name}}} }} | [[Category:FIX THESE PAGES ASAP!]] }}<!--
===============
Lateral infobox
===============
-->{{Infobox/HeaderNoImage
|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 7: Line 23:
{{Infobox/Row
{{Infobox/Row
|label=Language
|label=Language
|value=[[Language Guidelines/{{{language}}}|{{{language}}}]]
|value=[[{{{language}}} .{{Language parser|type=extension|language={{{language}}}}}|{{{language}}}]]
|bgcolor_label=#cccccc
|bgcolor_label=#cccccc
|color_label=#000000
|color_label=#000000
Line 14: Line 30:
}}
}}
{{Infobox/Row
{{Infobox/Row
|label={{#if:{{{game2|}}} | Game 1 | Game}}
|label={{#if:{{{game2|}}} | Game 1 | {{#if:{{{isModPage|}}}|Mod|Game}}}}
|value={{#switch:{{{game}}} | None=None | [[{{{game}}}]] }}
|value={{#switch:{{{game}}} | None=None | {{#if:{{{isModPage|}}}|[[{{{mod}}}]]|[[{{{game}}}]]}} }}
|bgcolor_label=#cccccc
|bgcolor_label=#cccccc
|color_label=#000000
|color_label=#000000
Line 45: Line 61:
|color=#444444
|color=#444444
}} | }}
}} | }}
{{Infobox/Footer}}</includeonly><noinclude>{{Documentation}}{{AddCategories|type=Infobox}}</noinclude>
{{#if:{{{game3|}}} | {{Infobox/Row
|label=Game 3
|value=[[{{{game3}}}]]
|bgcolor_label=#cccccc
|color_label=#000000
|bgcolor=#ffffff
|color=#444444
}} | }}
{{#if:{{{game3|}}} | {{Infobox/Row
|label=<abbr title="Doesn't include empty lines, whited lines, URLs or numeric values.">Status</abbr>
|value={{{lines_done3}}}/{{{lines_total3}}}
|bgcolor_label=#cccccc
|color_label=#000000
|bgcolor=#ffffff
|color=#444444
}} | }}
{{Infobox/Footer}}<!--
===========================
Category beginning - Game 1/Mod
===========================
-->{{#if:{{{isModPage|}}} | [[Category:{{{mod}}} Localization]] [[Category:{{{mod}}} {{{language}}} Localization]]  {{#ifexpr: ({{{lines_done}}} > 0) and ({{{lines_total}}} > 0) and ({{{lines_done}}} >= {{{lines_total}}}) | [[Category:{{{mod}}} Completed Localization Files]] [[Category:{{{mod}}} Completed {{{language}}} Localization Files]] | [[Category:{{{mod}}} Incomplete Localization Files]] [[Category:{{{mod}}} Incomplete {{{language}}} Localization Files]]}} | {{#switch:{{{game}}} | None = [[Category:Localizations without a game]] [[Category:{{{language}}} localizations without a game]] | [[Category:{{{game}}} Localization]] [[Category:{{{game}}} {{{language}}} Localization]] {{#ifexpr:{{{lines_total}}} <= 10 | [[Category:Localization pages with less than 10 lines]]|}}{{#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:Completed {{{language}}} Localization Files]] | [[Category:{{{game}}} Incomplete Localization Files]] [[Category:{{{game}}} Incomplete {{{language}}} Localization Files]] [[Category:Incomplete {{{language}}} Localization Files]]}}}} }}<!--
===========================
Category beginning - Game 2
===========================
-->{{#if:{{{game2|}}} | [[Category:{{{game2}}} Localization]] [[Category:{{{game2}}} {{{language}}} Localization]] {{#ifexpr:{{{lines_total2}}} <= 10 | [[Category:Localization pages with less than 10 lines]]|}}{{#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:Completed {{{language}}} Localization Files]] | [[Category:{{{game2}}} Incomplete Localization Files]] [[Category:{{{game2}}} Incomplete {{{language}}} Localization Files]] [[Category:Incomplete {{{language}}} Localization Files]]}} | }}<!--
===========================
Category beginning - Game 3
===========================
-->{{#if:{{{game3|}}} | [[Category:{{{game3}}} Localization]] [[Category:{{{game3}}} {{{language}}} Localization]] {{#ifexpr:{{{lines_total3}}} <= 10 | [[Category:Localization pages with less than 10 lines]]|}}{{#ifexpr: ({{{lines_done3}}} > 0) and ({{{lines_total3}}} > 0) and ({{{lines_done3}}} >= {{{lines_total3}}}) | [[Category:{{{game3}}} Completed Localization Files]] [[Category:{{{game3}}} Completed {{{language}}} Localization Files]] [[Category:Completed {{{language}}} Localization Files]] | [[Category:{{{game3}}} Incomplete Localization Files]] [[Category:{{{game3}}} Incomplete {{{language}}} Localization Files]] [[Category:Incomplete {{{language}}} Localization Files]]}} | }}<!--
===========================
End categories
===========================
--></includeonly><noinclude>{{Documentation}}{{AddCategories|type=Infobox}}</noinclude>

Latest revision as of 01:17, 24 May 2022

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=
}}