Template:Infobox identity: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Tag: 2017 source edit
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<infobox theme="identity">
{{infobox
<title source="name">
| title   = {{{name|{{PAGENAME}}}}}
<default>{{PAGENAME}}</default>
| image   = {{#if:{{{flag|}}}|[[File:{{{flag}}}{{!}}250px]]|}}
</title>
| caption1 = {{#if:{{{meaning|}}}|'''Meaning'''<br>{{{meaning|}}}|}}
<image source="flag">
| label1  = Related identities
<caption source="flag description">
| data1    = {{{related|}}}
  <format><small>{{{flag description}}}</small></format>
| label2  = Under the umbrella term
</caption>
| data2    = {{{umbrella|}}}
</image>
| 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.}}
<data source="meaning">
| data3    = {{{frequency|}}}
<format><center>''{{#simple-tooltip: <translate>Meaning</translate> | {{{meaning|Unknown}}} }}''</center></format>
| 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>|}}
</data>
}}<noinclude>
<data source="related">
<label><translate>Related identities</translate></label>
</data>
<data source="percentage">
<label>{{#simple-tooltip: <translate>Frequency</translate> | <translate>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.</translate>}}</label>
<format>{{{percentage}}}%</format>
</data>
<data source="gallery_link">
<format><center>[[{{{gallery_link}}}|<translate>Alternative pride flags gallery</translate>]]</center></format>
</data>
</infobox>
 
<noinclude>
<templatedata>
<templatedata>
{
{
Line 46: 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 57: 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]]
</noinclude>
</noinclude>