Template:TemplateBase/InfoBox: Difference between revisions
From KolymaPEDIA
Jump to navigationJump to search
No edit summary |
Remove stray leading backticks Tag: Manual revert |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{| | <!-- | ||
|- | ================================================== | ||
TemplateBase/Infobox | |||
| | A heavily stylized infobox fork featuring a dark red header, | ||
| | linear gradient body, and row dividers. | ||
|- | ================================================== | ||
! | USAGE: | ||
{{TemplateBase/InfoBox | |||
| | | title = | ||
| image = | |||
| | | label1 = | ||
|- | | data1 = | ||
}} | |||
| | |||
PARAMETERS: | |||
! | - title: The name/header at the very top. | ||
- image: Standard image syntax, e.g., [[File:Example.png|200px]] | |||
- label1, data1: Row keys and values. | |||
================================================== | |||
-->{{#invoke:TemplateBase/Infobox|infobox | |||
| icon_overlay = {{#if:{{{gender|}}}{{{sexuality|}}}|<!-- | |||
--><div style="position: absolute; bottom: 4px; left: 4px; display: flex; gap: 4px; z-index: 2;"><!-- | |||
-->{{#switch: {{lc: {{{gender|}}} }} | |||
| male | man | boy = [[File:Smallweirdferal.png|link=|alt=Male]] | |||
| female | woman | girl = [[File:Female_feraljak.png|20px|link=|alt=Female]] | |||
| transexual | transgender | trans | troon | tranny | trannnies = [[File:ACK.png|20px|link=|alt=Tranny]] | |||
| ftm | pooner | pooners = [[File:19136_-_SoyBooru-removebg-preview.webp|20px|link=|alt=Pooner]] | |||
}}<!-- | |||
-->{{#switch: {{lc: {{{sexuality|}}} }} | |||
| homosexual | homo | gay | faggot = [[File:Faggot1.png|20px|link=|alt=Faggot]] | |||
| lesbian | dyke | dykes = [[File:Dyke.png|20px|link=|alt=Dyke]] | |||
| bisexual | bi | baggot = [[File:Baggot.png|20px|link=|alt=Baggot]] | |||
| transexual | transgender | trans | troon | tranny | trannnies = [[File:ACK.png|20px|link=|alt=Tranny]] | |||
| ftm | pooner | pooners = [[File:19136_-_SoyBooru-removebg-preview.webp|20px|link=|alt=Pooner]] | |||
}}<!-- | |||
--></div><!-- | |||
-->}} | |||
}}<noinclude> | |||
[[Category:Infobox templates]] | |||
{{Documentation}} | |||
</noinclude> | |||