Template:Infobox identity: Difference between revisions

    From Nonbinary Wiki
    (popularity renamed to frequency, more descriptive)
    (pls don't break)
    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 theme="identity">
    | colspan="2" | <center><big>'''{{{name|{{PAGENAME}}}}}'''</big></center>
    <title source="name">
    |-
    <default>{{PAGENAME}}</default>
    | colspan="2" | [[File:{{{flag|}}}|250px|center]]<br><small>{{{flag description|}}}</small>
    </title>
    |-
    <image source="flag">
    | colspan="2" | <center>''{{#simple-tooltip: Meaning | {{{meaning|Unknown}}} }}''</center>
    <caption source="flag description">
    |-
      <format><small>{{{flag description}}}</small></format>
    | '''Related identities'''
    </caption>
    | {{{related|None}}}
    </image>
    |-
    <data source="meaning">
    | '''{{#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.}}'''
    <format><center>''{{#simple-tooltip: Meaning | {{{meaning|Unknown}}} }}''</center>
    | {{#if:{{{percentage|}}}|{{{percentage|}}}%|No data}}
    </data>
    |-
    <data source="related">
    | '''Pride gallery'''
    <label>Related identities</label>
    | {{#if:{{{gallery_link|}}}| [[{{{gallery_link|}}}|Go to gallery]] | No gallery for this identity}}
    </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}}}|Go to gallery]]</center></format>
    </data>
    </infobox>
     
    <noinclude>
    <noinclude>
    <templatedata>
    <templatedata>

    Revision as of 15:11, 17 November 2019

    There is a problem with parsing the infobox

    • 0
    • 1
      <title source="name">
    • 2
      <default>{{PAGENAME}}</default>
    • 3
      </title>
    • 4
      <image source="flag">
    • 5
      <caption source="flag description">
    • 6
      <format><small>{{{flag description}}}</small></format>
    • 7
      </caption>
    • 8
      </image>
    • 9
      <data source="meaning">
    • 10
      <format><center>''{{#simple-tooltip: Meaning | {{{meaning|Unknown}}} }}''</center>
    • 11
      </data>
    • 12
      <data source="related">
    • 13
      <label>Related identities</label>

      Opening and ending tag mismatch

    • 14
      </data>
    • 15
      <data source="percentage">
    • 16
      <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>
    • 17
      <format>{{{percentage}}}%</format>

      Incorrect XML markup. Please validate your XML

    • 18
      </data>
    • 19
      <data source="gallery_link">
    • 20
      <format><center>[[{{{gallery_link}}}|Go to gallery]]</center></format>
    • 21
      </data>
    • 22


    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