Template:Translation: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
m (don't fix width)
(Experiment with adding German field, as this table is being used for German translations in some pages.)
Line 1: Line 1:
<includeonly><table class="infobox" style="text-align:left; padding: 0.2em; border:solid #aaa 1px;">
<includeonly><table class="infobox" style="text-align:left; padding: 0.2em; border:solid #aaa 1px;">
{{#if:{{{term_english|}}}|<th colspan="2" style="text-align:center;background-color:#CCF;">
{{#if:{{{term_english|}}}|<th colspan="2" style="text-align:center;background-color:#CCF;">
<span style="font-size: 120%; font-weight: bold;">{{{term_english|}}}</span>{{#if:{{{term_japanese|}}}|<br /><span style="font-size: x-small;">{{{term_japanese|}}}</span>|}}
<span style="font-size: 120%; font-weight: bold;">{{{term_english|}}}</span>{{#if:{{{term_japanese|}}}|<br /><span style="font-size: x-small;">{{{term_japanese|}}}</span></th>|}}
</th>|}}
{{Infobox/row
{{Infobox/row
|label=Japanese
|label=Japanese
|labelstyle=width:10em;background-color:#EEF; font-weight:bold; vertical-align: middle; text-align: center;
|labelstyle=width:10em;background-color:#EEF; font-weight:bold; vertical-align: middle; text-align: center;
|data={{{japanese|}}}
|data={{{japanese|}}}
}}
{{Infobox/row
|label=German
|labelstyle=width:10em;background-color:#EEF; font-weight:bold; vertical-align: middle; text-align: center;
|data={{{german|}}}
}}
}}
{{Infobox/row
{{Infobox/row
Line 24: Line 28:
|term_japanese= 用語 (yougo)
|term_japanese= 用語 (yougo)
|japanese=Please enter Japanese text here!
|japanese=Please enter Japanese text here!
|german=Please enter German text here!
|english=Please enter English translation here!
|english=Please enter English translation here!
|notes=Please input any information not included in the official website's definition here!
|notes=Please input any information not included in the official website's definition here!
Line 33: Line 38:
|term_japanese = 用語 (yougo)
|term_japanese = 用語 (yougo)
|japanese      = Please enter Japanese text here!
|japanese      = Please enter Japanese text here!
|german        = Please enter German text here!
|english      = Please enter English translation here!
|english      = Please enter English translation here!
|notes        = Please input any information not included in the official website's definition here!
|notes        = Please input any information not included in the official website's definition here!
Line 47: Line 53:
|-
|-
|japanese || Japanese explanation of glossary item
|japanese || Japanese explanation of glossary item
|-
|german || German explanation of glossary item
|-
|-
|english || English translation of glossary explanation
|english || English translation of glossary explanation

Revision as of 08:31, 3 February 2011


{{#if:Glossary Term| | style="text-align: left; width:10em;background-color:#EEF; font-weight:bold; vertical-align: middle; text-align: center;" |Japanese | style="text-align: left; {{{datastyle}}}" |Please enter Japanese text here! |- | style="text-align: left; width:10em;background-color:#EEF; font-weight:bold; vertical-align: middle; text-align: center;" |German | style="text-align: left; {{{datastyle}}}" |Please enter German text here! |- | style="text-align: left; width:10em;background-color:#EEF; font-weight:bold; vertical-align: middle; text-align: center;" |English | style="text-align: left; {{{datastyle}}}" |Please enter English translation here! |- | style="text-align: left; width:10em;background-color:#EEF; font-weight:bold; vertical-align: middle; text-align: center;" |Notes | style="text-align: left; {{{datastyle}}}" |Please input any information not included in the official website's definition here! |-
Glossary Term
用語 (yougo)

Example use:

{{Translation
|term_english  = Glossary Term
|term_japanese = 用語 (yougo)
|japanese      = Please enter Japanese text here!
|german        = Please enter German text here!
|english       = Please enter English translation here!
|notes         = Please input any information not included in the official website's definition here!
}}
Parameter Explanation
term_english glossary item name in English
term_japanese Japanese name of glossary item (pronunciation in romaji)
japanese Japanese explanation of glossary item
german German explanation of glossary item
english English translation of glossary explanation
notes any information not included in the official website's definition