Difference between revisions of "Template:Family/Member"
From Detective Conan Wiki
(→See also) |
(→Usage) |
||
Line 4: | Line 4: | ||
| style="padding: 0.4em; {{#ifeq:{{{gender}}}|male|background-color:#D3EBFD;"|{{#ifeq:{{{gender}}}|female|background-color:#FFDAE0;"|"}}}} | <div style="text-align: center; margin-bottom: 4px;">[[File:{{#if:{{{3|}}}|{{{3|}}}|{{{1|}}}.jpg}}|border|100px{{#if:{{{nolink-member|}}}||{{!}}link={{{1}}}}}]]</div><div style="text-align: center;">{{#if:{{{nolink-member|}}}|{{{1|}}}|[[{{{1|}}}]]}}</div>{{#if:{{{4|}}}|{{!!}} style{{=}}"padding: 0.4em; {{#ifeq:{{{gender-2}}}|male|background-color:#D3EBFD;"|{{#ifeq:{{{gender-2}}}|female|background-color:#FFDAE0;"|"}}}} {{!}} <div style{{=}}"text-align: center; margin-bottom: 4px;">[[File:{{#if:{{{6|}}}|{{{6|}}}|{{{4|}}}.jpg}}{{!}}border{{!}}100px{{#if:{{{nolink-member-2|}}}||{{!}}link={{{4}}}}}]]</div><div style{{=}}"text-align: center;">{{#if:{{{nolink-member-2|}}}|{{{4|}}}|[[{{{4|}}}]]}}</div>}}{{#if:{{{7|}}}|{{!!}} style{{=}}"padding: 0.4em; {{#ifeq:{{{gender-3}}}|male|background-color:#D3EBFD;"|{{#ifeq:{{{gender-3}}}|female|background-color:#FFDAE0;"|"}}}} {{!}} <div style{{=}}"text-align: center; margin-bottom: 4px;">[[File:{{#if:{{{9|}}}|{{{9|}}}|{{{7|}}}.jpg}}{{!}}border{{!}}100px{{#if:{{{nolink-member-3|}}}||{{!}}link={{{7}}}}}]]</div><div style{{=}}"text-align: center;">{{#if:{{{nolink-member-3|}}}|{{{7|}}}|[[{{{7|}}}]]}}</div>}} | | style="padding: 0.4em; {{#ifeq:{{{gender}}}|male|background-color:#D3EBFD;"|{{#ifeq:{{{gender}}}|female|background-color:#FFDAE0;"|"}}}} | <div style="text-align: center; margin-bottom: 4px;">[[File:{{#if:{{{3|}}}|{{{3|}}}|{{{1|}}}.jpg}}|border|100px{{#if:{{{nolink-member|}}}||{{!}}link={{{1}}}}}]]</div><div style="text-align: center;">{{#if:{{{nolink-member|}}}|{{{1|}}}|[[{{{1|}}}]]}}</div>{{#if:{{{4|}}}|{{!!}} style{{=}}"padding: 0.4em; {{#ifeq:{{{gender-2}}}|male|background-color:#D3EBFD;"|{{#ifeq:{{{gender-2}}}|female|background-color:#FFDAE0;"|"}}}} {{!}} <div style{{=}}"text-align: center; margin-bottom: 4px;">[[File:{{#if:{{{6|}}}|{{{6|}}}|{{{4|}}}.jpg}}{{!}}border{{!}}100px{{#if:{{{nolink-member-2|}}}||{{!}}link={{{4}}}}}]]</div><div style{{=}}"text-align: center;">{{#if:{{{nolink-member-2|}}}|{{{4|}}}|[[{{{4|}}}]]}}</div>}}{{#if:{{{7|}}}|{{!!}} style{{=}}"padding: 0.4em; {{#ifeq:{{{gender-3}}}|male|background-color:#D3EBFD;"|{{#ifeq:{{{gender-3}}}|female|background-color:#FFDAE0;"|"}}}} {{!}} <div style{{=}}"text-align: center; margin-bottom: 4px;">[[File:{{#if:{{{9|}}}|{{{9|}}}|{{{7|}}}.jpg}}{{!}}border{{!}}100px{{#if:{{{nolink-member-3|}}}||{{!}}link={{{7}}}}}]]</div><div style{{=}}"text-align: center;">{{#if:{{{nolink-member-3|}}}|{{{7|}}}|[[{{{7|}}}]]}}</div>}} | ||
|}<noinclude> | |}<noinclude> | ||
+ | == Usage == | ||
+ | '''ATTENTION: Please write it on ''one'' line.''' | ||
+ | <pre>{{Family/Member | ||
+ | |1=1st character's name | ||
+ | |2=relationship with the 1st character> | ||
+ | |3=1st character's image (optional; defaults to the character's name.jpg) | ||
+ | |gender=male/female (optional) | ||
+ | |nolink-member=true (optional) | ||
+ | |4=2nd character's name (optional) | ||
+ | |5=relationship with the 2nd character (optional) | ||
+ | |6=2nd character's image (optional; defaults to the character's name.jpg) | ||
+ | |gender-2=male/female (optional) | ||
+ | |nolink-member-2=true (optional) | ||
+ | |7=3rd character's name (optional) | ||
+ | |8=relationship with the 3rd character (optional) | ||
+ | |9=2nd character's image (optional; defaults to the character's name.jpg) | ||
+ | |gender-3=male/female (optional) | ||
+ | |nolink-member-3=true (optional)}}</pre> | ||
+ | |||
== See also == | == See also == | ||
* <nowiki>{{</nowiki>[[Template:Family/Members|Family/Members]]<nowiki>}}</nowiki> | * <nowiki>{{</nowiki>[[Template:Family/Members|Family/Members]]<nowiki>}}</nowiki> | ||
* <nowiki>{{</nowiki>[[Template:Familytree|Familytree]]<nowiki>}}</nowiki> | * <nowiki>{{</nowiki>[[Template:Familytree|Familytree]]<nowiki>}}</nowiki> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 12:27, 15 February 2016
Member |
---|
[[]]
|
Usage
ATTENTION: Please write it on one line.
{{Family/Member |1=1st character's name |2=relationship with the 1st character> |3=1st character's image (optional; defaults to the character's name.jpg) |gender=male/female (optional) |nolink-member=true (optional) |4=2nd character's name (optional) |5=relationship with the 2nd character (optional) |6=2nd character's image (optional; defaults to the character's name.jpg) |gender-2=male/female (optional) |nolink-member-2=true (optional) |7=3rd character's name (optional) |8=relationship with the 3rd character (optional) |9=2nd character's image (optional; defaults to the character's name.jpg) |gender-3=male/female (optional) |nolink-member-3=true (optional)}}
See also
- {{Family/Members}}
- {{Familytree}}