FANDOM


This Forum has been archived

Visit the new Forums
Forums: Index Community Central Forum A Simple Character Template
FANDOM's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 3670 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


I've had it with using other wiki's character templates. I've tried to learn HTML but it's too hard. Can someone walk me through to make a template with
{{#if:...}}}
added to the tutorial?


{|Template:Infobox Character
|image=
|name=
|kanji=
|romanji=
|epithet=
|born=
|age=
|family=
|height=
|weight=
|affiliation=
|element=
|element sign=
|weapon=
|}
That's what I want in the template to contain. So can someone walk me through it and also tell me when and where to add:
{{#if:...}}
Thanks. --KiumaruHamachi 03:10, September 10, 2010 (UTC)KiumaruHamachi
Don't edit page until I'm done Cou-ra-geuh ! 03:17, September 10, 2010 (UTC)
EDIT 03:25, September 10, 2010 (UTC)
<includeonly>
{|style="border:solid 3px #FFD700; -moz-border-radius:10px; float:right;" width="35%"
|-
|colspan="2" style="text-align:center; background:#FFD700; -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em;"|<big>'''{{{name}}}'''<big>
|-
|colspan="2" style="text-align:center; background:#FFFFFF"|{{{image}}}
|-
|style="background:#FFF59D" width="44%"|'''Kana'''
|style="color:white; background:#DAA520"|{{{kana}}}
|-
|style="background:#FFF59D" width="44%"|'''Romaji'''
|style="color:white; background:#DAA520"|{{{romaji}}}
|-
{{#if:{{{epithet|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#FFF59D" width="44%" {{!}}'''Epithet'''
{{!}} style="color:white; background:#DAA520" {{!}}{{{epithet|}}}
}}
|-
{{#if:{{{born|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#FFF59D" width="44%" {{!}}'''Date of birth'''
{{!}} style="color:white; background:#DAA520" {{!}}{{{born|}}}
}}
|-
{{#if:{{{age|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#FFF59D" width="44%" {{!}}'''Age'''
{{!}} style="color:white; background:#DAA520" {{!}}{{{age|}}}
}}
|-
{{#if:{{{family|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#FFF59D" width="44%" {{!}}'''Family members'''
{{!}} style="color:white; background:#DAA520" {{!}}{{{family|}}}
}}
|-
{{#if:{{{height|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#FFF59D" width="44%" {{!}}'''Height'''
{{!}} style="color:white; background:#DAA520" {{!}}{{{height|}}}
}}
|-
{{#if:{{{weight|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#FFF59D" width="44%" {{!}}'''Weight'''
{{!}} style="color:white; background:#DAA520" {{!}}{{{weight|}}}
}}
|-
{{#if:{{{affiliation|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#FFF59D" width="44%" {{!}}'''Affiliation'''
{{!}} style="color:white; background:#DAA520" {{!}}{{{affiliation|}}}
}}
|-
{{#if:{{{element|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#FFF59D" width="44%" {{!}}'''Element'''
{{!}} style="color:white; background:#DAA520" {{!}}{{{element|}}}
}}
|-
{{#if:{{{element_sign|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#FFF59D" width="44%" {{!}}'''Element Sign'''
{{!}} style="color:white; background:#DAA520" {{!}}{{{element_sign|}}}
}}
|-
{{#if:{{{weapon|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#FFF59D" width="44%" {{!}}'''Weapon'''
{{!}} style="color:white; background:#DAA520" {{!}}{{{weapon|}}}
}}
|-
|}</includeonly><noinclude>

<pre>
{{InfoCharacter
|name=
|kana=
|romaji=
|image=
|epithet=
|born=
|age=
|family=
|height=
|weight=
|affiliation=
|element=
|element sign=
|weapon=
}}


[[Category:Infoboxes|Character]]</noinclude>

This is how the code should look like.

Now take a good look at the IF sections... All except for the basic details are if-ed. Cou-ra-geuh ! 03:25, September 10, 2010 (UTC)

Thank You TNE! --KiumaruHamachi 03:27, September 10, 2010 (UTC)KiumaruHamachi

Community content is available under CC-BY-SA unless otherwise noted.