Template:Infobox identity: Difference between revisions

    From Nonbinary Wiki
    imported>TXJ
    (Link to Gender Census)
    (new infobox style, see Topic:Votvbdz0loi5ikim)
    Line 1: Line 1:
    <infobox theme="identity">
    {{infobox
    <title source="name">
    | title   = {{{name|{{PAGENAME}}}}}
    <default>{{PAGENAME}}</default>
    | image   = {{#invoke:NBDb | claim | property=P21 | value={{{flag|}}}}}
    </title>
    | caption1 = {{#invoke:NBDb | claim | property=P21 | qualifier=P38 | formatting='''Meaning'''<br>$1 | value={{{meaning|}}}}}
    <image source="flag">
    | label1  = Related identities
    <caption source="flag description">
    | data1    = {{#invoke:NBDb | claim | property=P15 | value={{{related|}}}}}
      <format><small>{{{flag description}}}</small></format>
    | label2  = Under the umbrella term
    </caption>
    | data2    = {{#invoke:NBDb | claim | property=P14 | value={{{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    = {{#invoke:NBDb | claim | property=P11 | value={{{frequency|}}}}}
    <format><center>''{{#simple-tooltip: Meaning | {{{meaning|Unknown}}} }}''</center></format>
    | 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|}}}}}
    </data>
    }}
    <data source="related">
     
    <label>Related identities</label>
    </data>
    <data source="percentage">
    <label>{{#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.}}</label>
    <format>{{{percentage}}}%</format>
    </data>
    <data source="gallery_link">
    <format><center>[[{{{gallery_link}}}|Alternative pride flags gallery]]</center></format>
    </data>
    </infobox>
       
       
    <noinclude>
    <noinclude>

    Revision as of 15:22, 18 July 2020

    Infobox identity
    Script error: No such module "NBDb".
    Script error: No such module "NBDb".
    Related identities Script error: No such module "NBDb".
    Under the umbrella term Script error: No such module "NBDb".
    Frequency Script error: No such module "NBDb".
    Script error: No such module "NBDb". Script error: No such module "NBDb".


    No description.

    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
    Frequencypercentage

    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