Template:Character: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Maybe now it's working?) |
(Added fallback if there is no image with the character's name) |
||
Line 1: | Line 1: | ||
⚫ | |||
<includeonly> |
|||
⚫ | |||
<tr><th colspan="6" style="background-color:#2d4c72;color:white">{{{Name|}}}</th></tr> |
<tr><th colspan="6" style="background-color:#2d4c72;color:white">{{{Name|}}}</th></tr> |
||
<tr><td colspan="6"><div class="rarity">{{Rarity|{{{Rarity|}}}}}</div><div style="width:310px"><tabs><tab name="Profile image">[[File:{{PAGENAMEE}}.png|frameless|center|x300px|alt={{{Name|}}}]]</tab><tab name="Full artwork">[[File:{{PAGENAMEE}}_full.png|frameless|center|x300px|alt={{{Name|}}}]]</tab></tabs></div></td></tr> |
<tr><td colspan="6"><div class="rarity">{{Rarity|{{{Rarity|}}}}}</div><div style="width:310px"><tabs><tab name="Profile image">[[File:{{{ImageProfile|{{PAGENAMEE}}}}}.png|frameless|center|x300px|alt={{{Name|}}}]]</tab><tab name="Full artwork">[[File:{{{Image|{{PAGENAMEE}}}}}_full.png|frameless|center|x300px|alt={{{Name|}}}]]</tab></tabs></div></td></tr> |
||
<tr><th colspan="3" style="background-color:#2d4c72;color:white;width:50%">School</th><th colspan="3" style="background-color:#2d4c72;color:white;width:50%">Role</th></tr> |
<tr><th colspan="3" style="background-color:#2d4c72;color:white;width:50%">School</th><th colspan="3" style="background-color:#2d4c72;color:white;width:50%">Role</th></tr> |
||
<tr><td colspan="3">{{School|{{{School|}}}}}{{{School|}}}</td><td colspan="3">{{Role|{{{Role|}}}}}{{{Role|}}}/{{{Position|}}}</td></tr> |
<tr><td colspan="3">{{School|{{{School|}}}}}{{{School|}}}</td><td colspan="3">{{Role|{{{Role|}}}}}{{{Role|}}}/{{{Position|}}}</td></tr> |
||
Line 23: | Line 22: | ||
</table> |
</table> |
||
{{#ifeq:{{NAMESPACE}}||[[Category:Characters with {{{Rarity|}}} star rarity]][[Category:Students of {{{School|}}}]][[Category:Characters with role {{{Role|}}}]][[Category:Characters with class {{{CombatClass|{{{Type|}}}}}}]]}} |
{{#ifeq:{{NAMESPACE}}||[[Category:Characters with {{{Rarity|}}} star rarity]][[Category:Students of {{{School|}}}]][[Category:Characters with role {{{Role|}}}]][[Category:Characters with class {{{CombatClass|{{{Type|}}}}}}]]}} |
||
</includeonly> |
</includeonly><noinclude> |
||
<noinclude> |
|||
== Blank Template == |
== Blank Template == |
||
Line 30: | Line 28: | ||
{{Character |
{{Character |
||
| Name = |
| Name = |
||
| Image = |
|||
| JPName = |
| JPName = |
||
| JPReading = |
| JPReading = |
||
Line 74: | Line 71: | ||
"example": "Shiroko_full.png", |
"example": "Shiroko_full.png", |
||
"type": "wiki-file-name", |
"type": "wiki-file-name", |
||
"required": |
"required": false, |
||
"suggested": true |
|||
}, |
|||
"ImageProfile": { |
|||
"description": "File containing character's profile sprite.", |
|||
"example": "Shiroko.png", |
|||
"type": "wiki-file-name", |
|||
"required": false, |
|||
"suggested": true |
|||
}, |
}, |
||
"School": { |
"School": { |