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...")
 
No edit summary
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 the 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 12:27, 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 template 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.)