Difference between revisions of "Template:Family/Member"
From Detective Conan Wiki
m (Undo revision 253454 by Dark Blizzard (talk)) (Tag: Undo) |
|||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style="margin: 1em auto 1em auto;" | {| class="wikitable" style="margin: 1em auto 1em auto;" | ||
− | ! | + | ! style="color: black; background-color: white;" | {{{2|Member}}}{{#if:{{{4|}}}|!! style="color: black; background-color:white;" {{!}} {{{5|Member}}}}}{{#if:{{{7|}}}|!! style="color: black; background-color:white;" {{!}} {{{8|Member}}}}} |
|- | |- | ||
− | | [[File:{{#if:{{{3|}}}|{{{3|}}}|{{{1|}}}.jpg}}|border|100px]]< | + | | 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> |
+ | == Usage == | ||
+ | '''ATTENTION: Please write it on ''one'' line.''' | ||
+ | <pre>{{Family/Member | ||
+ | |1=first character's name | ||
+ | |2=relationship with the first character> | ||
+ | |3=first character's image (optional; defaults to the character's name.jpg) | ||
+ | |gender=male/female (optional) | ||
+ | |nolink-member=true (optional) | ||
+ | |4=second character's name (optional) | ||
+ | |5=relationship with the second character (optional) | ||
+ | |6=second character's image (optional; defaults to the character's name.jpg) | ||
+ | |gender-2=male/female (optional) | ||
+ | |nolink-member-2=true (optional) | ||
+ | |7=third character's name (optional) | ||
+ | |8=relationship with the third character (optional) | ||
+ | |9=third character's image (optional; defaults to the character's name.jpg) | ||
+ | |gender-3=male/female (optional) | ||
+ | |nolink-member-3=true (optional)}}</pre> | ||
+ | |||
+ | == See also == | ||
+ | * <nowiki>{{</nowiki>[[Template:Family/Members|Family/Members]]<nowiki>}}</nowiki> | ||
+ | * <nowiki>{{</nowiki>[[Template:Familytree|Familytree]]<nowiki>}}</nowiki> | ||
+ | [[Category:Templates]]</noinclude> |
Latest revision as of 11:02, 4 June 2020
Member |
---|
[[]]
|
Usage
ATTENTION: Please write it on one line.
{{Family/Member |1=first character's name |2=relationship with the first character> |3=first character's image (optional; defaults to the character's name.jpg) |gender=male/female (optional) |nolink-member=true (optional) |4=second character's name (optional) |5=relationship with the second character (optional) |6=second character's image (optional; defaults to the character's name.jpg) |gender-2=male/female (optional) |nolink-member-2=true (optional) |7=third character's name (optional) |8=relationship with the third character (optional) |9=third 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}}