Template:Damage/doc: Difference between revisions
From Elwiki
mNo edit summary |
mNo edit summary |
||
Line 39: | Line 39: | ||
*'''lang''' - is used for multi-language support. The following changes will apply if this is set. | *'''lang''' - is used for multi-language support. The following changes will apply if this is set. | ||
**Passive names are collected from translated pages' '''<nowiki>{{DISPLAYTITLE}}</nowiki>''' if exists. This acts like ''alias'' but can still be overwriten by ''alias''. | **Passive names are collected from translated pages' '''<nowiki>{{DISPLAYTITLE}}</nowiki>''' if exists. This acts like ''alias'' but can still be overwriten by ''alias''. | ||
**Links will be linked to ''[page]/[lang]'' instead of ''[page]''. | |||
**Translations will be fetched from ''Template:Damage/[lang]'' (i.e. ''Template:Damage/zh-hans'') and applied to table. Text will be unchanged if no translated text found. | **Translations will be fetched from ''Template:Damage/[lang]'' (i.e. ''Template:Damage/zh-hans'') and applied to table. Text will be unchanged if no translated text found. | ||
**To define your translation, you should add the following to ''Template:Damage/[lang]''. <syntaxhighlight> | **To define your translation, you should add the following to ''Template:Damage/[lang]''. <syntaxhighlight> |