Difference between revisions of "Template:LanguageTableHeader"

From Oldunreal-Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{| class="article-table" style="width:100%; border: 1px solid black; border-collapse: collapse;"
<includeonly>{| class="article-table" style="width:100%; border: 1px solid black; border-collapse: collapse;"
|- style="width: 50%; background: black; color: white; font-weight:bold;"
{{!}}- style="width: 50%; background: black; color: white; font-weight:bold;"
!Original entry
{{!}}Original entry
!Translation
{{!}}Translation
{{#if:{{{hasParent|}}}|!Parent|}}
{{#if:{{{hasParent|}}}|{{!}}Parent|}}
</includeonly><noinclude>{{LanguageTableDoc}}{{AddCategories|type=Table}}</noinclude>
</includeonly><noinclude>{{LanguageTableDoc}}{{AddCategories|type=Table}}</noinclude>

Revision as of 01:33, 18 July 2020

Table templates
Language Table
Class Table

A set of templates meant to bring consistency in design to the Language Guidelines pages.

{{LanguageTableHeader}}
{{LanguageTableSection
|name=
}}
{{LanguageTableRow
|original=
|translation=
|found_in=
|class=
|metaclass=
|notes=
}}
(...)
{{LanguageTableRow
|original=
|translation=
|found_in=
|class=
|metaclass=
|notes=
}}
{{LanguageTableFooter}}

Example of use:

{{LanguageTableHeader}}
{{LanguageTableSection
|name=Weapons
}}
{{LanguageTableRow
|original=Dispersion Pistol
|translation=Pistola de Dispersión
|found_in=UnrealI.est
|class=
|metaclass=
|notes=Unreal Only
}}
{{LanguageTableRow
|original=AutoMag
|translation=Autopistola
|found_in=UnrealI.est
|class=
|metaclass=
|notes=Unreal Only
}}
{{LanguageTableFooter}}
Original entry Translation


Weapons
Dispersion Pistol Pistola de Dispersión UnrealI.est Unreal Only
AutoMag Autopistola UnrealI.est Unreal Only