Template:Infobox character/doc: Difference between revisions

From Elwiki
No edit summary
No edit summary
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 template in a separate language page, for example '''Template:Infobox character/it''':
*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 Module just uses the argument's key and capitalizes every word's first letter. (You don't have to provide it at all.)
*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.)

Revision as of 13:33, 5 May 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>
  • 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.)