Template:Infobox identity: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Tag: 2017 source edit
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{infobox
{{infobox
| title    = {{{name|{{PAGENAME}}}}}
| title    = {{{name|{{PAGENAME}}}}}
| image    = {{#invoke:NBDb | claim | property=P21 | value={{{flag|}}}}}
| image    = {{#if:{{{flag|}}}|[[File:{{{flag}}}{{!}}250px]]|}}
| caption1 = {{#invoke:NBDb | claim | property=P21 | qualifier=P38 | formatting='''Meaning'''<br>$1 | value={{{meaning|}}}}}
| caption1 = {{#if:{{{meaning|}}}|'''Meaning'''<br>{{{meaning|}}}|}}
| label1  = Related identities
| label1  = Related identities
| data1    = {{#invoke:NBDb | claim | property=P15 | value={{{related|}}}}}
| data1    = {{{related|}}}
| label2  = Under the umbrella term
| label2  = Under the umbrella term
| data2    = {{#invoke:NBDb | claim | property=P14 | value={{{umbrella|}}}}}
| data2    = {{{umbrella|}}}
| label3  = {{#simple-tooltip: Frequency | Percentage based on the number of world-wide respondents in the last Gender Census.<br>The fact that a certain identity might not be popular does not mean that it's less valid. All identities should be equally respected.}}
| label3  = {{#simple-tooltip: Frequency | Percentage based on the number of world-wide respondents in the last Gender Census.<br>The fact that a certain identity might not be popular does not mean that it's less valid. All identities should be equally respected.}}
| data3    = {{#invoke:NBDb | claim | property=P11 | value={{{frequency|}}}}}
| data3    = {{{frequency|}}}
| below    = {{#invoke:NBDb | claim | property=P22 | list=no | formatting=<span class="galleryflag">$1</span>| value={{{alt_flag|}}}}} {{#invoke:NBDb | claim | property=P37 | formatting=<span class="plainlinks">[$1 Click here to see alternative flags!]</span> | value={{{gallery_link|}}}}}  
| below    = {{#if:{{{alt_flag|}}}<span class="galleryflag">[[File:{{{alt_flag}}}]]</span>|}} {{#if:{{{gallery_link|}}}|<span class="plainlinks">[[{{{gallery_link}}}|Click here to see alternative flags!]]</span>|}}
}}
}}<noinclude>
 
<noinclude>
<templatedata>
<templatedata>
{
{
Line 36: Line 33:
"suggested": true
"suggested": true
},
},
"percentage": {
"frequency": {
"label": "Frequency",
"label": "Frequency",
"description": "Percentage of people in the latest Gender Census identifying with this identity (without the percentage sign %).",
"description": "Percentage of people in the latest Gender Census identifying with this identity (without the percentage sign %).",
Line 47: Line 44:
}
}
},
},
"format": "block"
"format": "block",
"description": "Displays an infobox on the right with quick facts about a gender identity. Questions? Ask on the General discussion (see wiki sidebar link)."
}
}
</templatedata>
</templatedata>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>