Template:Infobox identity: Difference between revisions

No edit summary
mNo edit summary
Tag: 2017 source edit
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| width=350px style="float: right; clear: both; border-left: 5px solid #e2e810; padding-left: 10px; margin-left: 10px; background: #fdffb2; padding:10px;"
{{infobox
| colspan="2" | <center><big>'''{{{name|{{PAGENAME}}}}}'''</big></center>
| title    = {{{name|{{PAGENAME}}}}}
|-
| image    = {{#if:{{{flag|}}}|[[File:{{{flag}}}{{!}}250px]]|}}
| colspan="2" | [[File:{{{flag|}}}.png|250px|center]]<br><small>{{{flag description|}}}</small>
| caption1 = {{#if:{{{meaning|}}}|'''Meaning'''<br>{{{meaning|}}}|}}
|-
| label1  = Related identities
| colspan="2" | <center>''{{#simple-tooltip: Meaning | {{{meaning|Unknown}}} }}''</center>
| data1    = {{{related|}}}
|-
| label2  = Under the umbrella term
| '''Related identities'''
| data2    = {{{umbrella|}}}
| {{{related|None}}}
| 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    = {{{frequency|}}}
| '''{{#simple-tooltip: Popularity | 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. }}'''
| 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>|}}
| {{#if:{{{percentage|}}}| {{#ifexpr: 50<={{{percentage|}}}|Very High|}}{{#ifexpr: 50>{{{percentage|}}} and {{{percentage|}}}>=40 |High|}}{{#ifexpr: {{{percentage|}}}<40 and {{{percentage|}}}>=30 |Medium-High|}}{{#ifexpr: {{{percentage|}}}<30 and {{{percentage|}}}>=20 |Medium|}}{{#ifexpr: {{{percentage|}}}<20 and {{{percentage|}}}>=10 |Low|}}{{#ifexpr: {{{percentage|}}}<10 and {{{percentage|}}}>=5 |Very Low|}}{{#ifexpr: {{{percentage|}}}<5 and {{{percentage|}}}>=1 |Extremely Low|}}{{#ifexpr: {{{percentage|}}}<1 |Almost not used|}} ({{{percentage|}}}%) |No data}}
}}<noinclude>
|-
<templatedata>
| '''Pride gallery'''
{
| {{#if:{{{gallery_link|}}}| [[{{{gallery_link|}}}|Go to gallery]] | No gallery for this identity}}
"params": {
|}
"name": {
"label": "Name of the identity"
},
"flag": {
"label": "Flag",
"description": "Flag of the identity (without the File: prefix)",
"type": "wiki-file-name",
"suggested": true
},
"meaning": {
"label": "Meaning",
"description": "Meaning of the flag",
"suggested": true
},
"related": {
"label": "Related identities",
"description": "Use wikitext markup to create links (i.e. [[article name]]).",
"suggested": true
},
"frequency": {
"label": "Frequency",
"description": "Percentage of people in the latest Gender Census identifying with this identity (without the percentage sign %).",
"type": "number",
"suggested": true
},
"gallery_link": {
"label": "Link to the pride gallery (if any)",
"type": "wiki-page-name"
}
},
"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>
[[Category:Infobox templates]]
</noinclude>

Latest revision as of 17:43, 27 June 2023

Infobox identity

Displays an infobox on the right with quick facts about a gender identity. Questions? Ask on the General discussion (see wiki sidebar link).

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Name of the identityname

no description

Unknownoptional
Flagflag

Flag of the identity (without the File: prefix)

Filesuggested
Meaningmeaning

Meaning of the flag

Unknownsuggested
Related identitiesrelated

Use wikitext markup to create links (i.e. [[article name]]).

Unknownsuggested
Frequencyfrequency

Percentage of people in the latest Gender Census identifying with this identity (without the percentage sign %).

Numbersuggested
Link to the pride gallery (if any)gallery_link

no description

Page nameoptional