Template:Infobox identity: Difference between revisions

    From Nonbinary Wiki
    No edit summary
    Tag: 2017 source edit
    mNo edit summary
    Tag: 2017 source edit
     
    (2 intermediate revisions by the same user not shown)
    Line 2: Line 2:
    | title    = {{{name|{{PAGENAME}}}}}
    | title    = {{{name|{{PAGENAME}}}}}
    | image    = {{#if:{{{flag|}}}|[[File:{{{flag}}}{{!}}250px]]|}}
    | image    = {{#if:{{{flag|}}}|[[File:{{{flag}}}{{!}}250px]]|}}
    | caption1 = '''Meaning'''<br>{{{meaning|}}}
    | caption1 = {{#if:{{{meaning|}}}|'''Meaning'''<br>{{{meaning|}}}|}}
    | label1  = Related identities
    | label1  = Related identities
    | data1    = {{{related|}}}
    | data1    = {{{related|}}}
    Line 9: Line 9:
    | 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    = {{{frequency|}}}
    | data3    = {{{frequency|}}}
    | 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>|}}
    | 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 33: 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 45: Line 45:
    },
    },
    "format": "block",
    "format": "block",
    "description": "Simply insert this template with no parameters. Link this article to the NBDb and the infobox will be automatically filled with all its data. Questions? Ask on the General discussion (see wiki sidebar link)."
    "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>

    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