User:Francoxamorreu/test2: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary
(I improve the parameters ethnicity and ethnicity2 so that when writing Cacasian, it puts the category White.)
Line 147: Line 147:
<tr valign="top" {{#switch:{{{type}}}|hybrid=style="background:#eef;"}}>
<tr valign="top" {{#switch:{{{type}}}|hybrid=style="background:#eef;"}}>
<td>'''Ethnicity'''</td>
<td>'''Ethnicity'''</td>
<td>{{#if:{{{ethnicity|}}}|[[:Category:{{{ethnicity}}}|{{ucfirst:{{{ethnicity}}}}}]]{{c0|{{{ethnicity}}}|type={{{type}}}}}}}{{#if:{{{ethnicity2|}}}|{{#if:{{{ethnicity|}}}|,&#32;{{c0|Mixed race|type={{{type}}}}}}}[[:Category:{{{ethnicity2}}}|{{ucfirst:{{{ethnicity2}}}}}]] {{c0|{{{ethnicity2}}}|type={{{type}}}}}}} </td>
<td>{{#if:{{{ethnicity|}}}|
</tr>}}
{{#switch:{{{ethnicity}}}
|White|white|Caucasian|caucasian=[[:Category:White|White]]{{c0|White|type={{{type}}}}}
|#default={{{ethnicity}}}}}
}}{{#if:{{{ethnicity2|}}}|
{{#switch:{{{ethnicity2}}}
|White|white|Caucasian|caucasian={{#if:{{{ethnicity2|}}}|,&nbsp;}}[[:Category:White|White]]{{c0|White|type={{{type}}}}}
|#default=,&nbsp;{{{ethnicity2}}}}}
}}</td></tr>}}


{{#if:{{{nationality|}}}{{{nationality2|}}}|
{{#if:{{{nationality|}}}{{{nationality2|}}}|
Line 935: Line 942:
</table></includeonly><noinclude>
</table></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
{{Biobox|ethnicity=White|ethnicity2=Black}}
{{Biobox|ethnicity=White|ethnicity2=Yellow}}
{{User:Francoxamorreu/test2|ethnicity=White|ethnicity2=fdhdgf}}


{{User:Francoxamorreu/test2|hair color=Red|hair color2=Black}}
{{User:Francoxamorreu/test2|hair color=Red|hair color2=Black}}
Line 950: Line 962:
{{User:Francoxamorreu/test2|hair color=Blonde|hair color2=Blue}}
{{User:Francoxamorreu/test2|hair color=Blonde|hair color2=Blue}}
{{User:Francoxamorreu/test2|hair color=Red|hair color2=Blue}}
{{User:Francoxamorreu/test2|hair color=Red|hair color2=Blue}}
{{User:Francoxamorreu/test2|hair color=Yellow|hair color2=Blue}}
{{User:Francoxamorreu/test2|hair color=Yellow|hair color2=blue}}


</noinclude>
</noinclude>

Revision as of 01:31, 22 February 2023

[create] Documentation