Template:Infobox character/doc: Difference between revisions
From Elwiki
(Created page with "== Tips == *Possible fields can be found in Module:InfoboxCharacter. If there's a need to add another field, ask Administrators. *This template is foreign language friendl...") |
m (Ritsu moved page Doc:Template:Infobox character to Template:Infobox character/doc) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Tips == | == Tips == | ||
*Possible fields can be found in [[Module:InfoboxCharacter]]. If there's a need to add another field, ask Administrators. | *Possible fields can be found in [[Module:InfoboxCharacter]]. If there's a need to add another field, ask Administrators. | ||
*This template is foreign language friendly now, meaning you can provide your own localizations when calling the | *This template is foreign language friendly now, meaning you can provide your own localizations when calling the module in a separate language page, for example '''Template:Infobox character/it''': | ||
<pre> | <pre> | ||
<includeonly>{{#invoke:InfoboxCharacter | <includeonly>{{#invoke:InfoboxCharacter | ||
Line 10: | Line 10: | ||
}}</includeonly><noinclude>{{Doc}}</noinclude> | }}</includeonly><noinclude>{{Doc}}</noinclude> | ||
</pre> | </pre> | ||
*If you don't provide a value to some field, the | *See possible arguments in this template's source. | ||
*If you don't provide a value to some field, the module just uses the argument's key and capitalizes every word's first letter. (You don't have to provide it at all.) |
Latest revision as of 17:16, 24 August 2022
Tips
- Possible fields can be found in Module:InfoboxCharacter. If there's a need to add another field, ask Administrators.
- This template is foreign language friendly now, meaning you can provide your own localizations when calling the module in a separate language page, for example Template:Infobox character/it:
<includeonly>{{#invoke:InfoboxCharacter |main |l_name=Nome |l_class=[Class in Italian] |l_age=[Age in Italian] etc... }}</includeonly><noinclude>{{Doc}}</noinclude>
- See possible arguments in this template's source.
- If you don't provide a value to some field, the module just uses the argument's key and capitalizes every word's first letter. (You don't have to provide it at all.)