Difference between revisions of "Template:Infobox-rounded"
Jump to navigation
Jump to search
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="background-color: # | + | <div style="background-color: #cccccc; float: right; clear:right; font-family: 'Calibri', sans-serif; text-align: left; border-radius: 7px; border: 1px solid #777777;margin:0px 0px 1em 2em; padding: .5em; max-width: 310px;"> |
{| style="width: 100%;" | {| style="width: 100%;" | ||
|- | |- | ||
− | |colspan="2" style="min-width: 100%; font-weight:bold; background-color: #595959; color:#fff; border-radius: 5px; font-size: 1.7em; padding: .5em; text-align:center;" | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} | + | |colspan="2" style="min-width: 100%; font-weight:bold; background-color: #595959; color:#fff; border-radius: 5px; font-size: 1.7em; padding: .5em; text-align:center; font-variant: small-caps;" | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} |
|- | |- | ||
{{#if:{{{image<includeonly>|</includeonly>}}} | | {{#if:{{{image<includeonly>|</includeonly>}}} | | ||
− | {{!}} colspan="2" style="text-align:center; background-color:none; padding-bottom:.5em; padding-top:.5em; margin-left:auto; margin-right:auto; border-radius: 5px;" {{!}}[[Image:{{#if: {{{image|}}} | {{{image}}} | Placeholder_person.gif}}|{{#if: {{{imagewidth|}}} | {{{imagewidth}}} | 300}}px]]{{#if: {{{caption|}}} | < | + | {{!}} colspan="2" style="text-align:center; background-color:none; padding-bottom:.5em; padding-top:.5em; margin-left:auto; margin-right:auto; border-radius: 5px;" {{!}}[[Image:{{#if: {{{image|}}} | {{{image}}} | Placeholder_person.gif}}|{{#if: {{{imagewidth|}}} | {{{imagewidth}}} | 300}}px]]{{#if: {{{caption|}}} | <p>''{{{caption}}}''</p> | }} |
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
− | !colspan="2" style="font-size:1.5em; text-align:center; background-color:#595959; color: #fff; border-radius: 5px;" {{!}} '''Character Information''' | + | !colspan="2" style="font-size:1.5em; text-align:center; background-color:#595959; color: #fff; border-radius: 5px; font-variant: small-caps;" {{!}} '''Character Information''' |
|- | |- | ||
!colspan="2" style="height: .5em;" {{!}} ''' ''' | !colspan="2" style="height: .5em;" {{!}} ''' ''' | ||
Line 36: | Line 36: | ||
{{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Subrace''' | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Subrace''' | ||
{{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}[[:Category:{{{subrace}}}|{{{subrace}}}]] | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}[[:Category:{{{subrace}}}|{{{subrace}}}]] | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{gender<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Gender''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{gender}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{sexualorientation<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Sexual Orientation''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{sexualorientation}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{relationship<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Relationship Status''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{relationship}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{nameday<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Nameday''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{nameday}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{age<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Age''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{age}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 46: | Line 71: | ||
{{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Birthplace''' | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Birthplace''' | ||
{{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{birthplace}}} | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{birthplace}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 56: | Line 76: | ||
{{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Tribe''' | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Tribe''' | ||
{{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}[[:Category:{{{tribe}}}|{{{tribe}}}]] | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}[[:Category:{{{tribe}}}|{{{tribe}}}]] | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{house<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''House''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{house}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 76: | Line 101: | ||
<noinclude> | <noinclude> | ||
− | I wanted something simple with rounded corners so I made this infobox with that in mind! | + | I wanted something simple with rounded corners so I made this infobox with that in mind! Inspiration was taken from the RoeBox infobox! All of the fields listed below are ''optional,'' which means that if you leave the area blank it will not generate that option. This allows for greater customization when making your infobox! |
− | |||
− | |||
+ | ===Copy Code=== __NOEDITSECTION__ | ||
+ | <hr><br> | ||
<pre> | <pre> | ||
{{Infobox-rounded | {{Infobox-rounded | ||
− | |name = <!-- The title on your infobox. Defaults to the page name. --> | + | |name = {{PAGENAME}} <!-- The title on your infobox. Defaults to the page name. --> |
− | |image = <!-- An image of your character. Defaults to | + | |image = Placeholder_person.gif <!-- An image of your character. Defaults to Placeholder_person.gif. --> |
− | |caption = <!-- A caption for the image if you want to put one in there. --> | + | |caption = Put your caption here!<!-- A caption for the image if you want to put one in there. --> |
− | |fullname = <!-- Your character's name. --> | + | |fullname = {{PAGENAME}} <!-- Your character's name. --> |
|nicknames = <!-- Any nicknames your character has. --> | |nicknames = <!-- Any nicknames your character has. --> | ||
|race = <!-- Your character's race (ex: Hyur, Miqo'te, etc.). This will create a category. --> | |race = <!-- Your character's race (ex: Hyur, Miqo'te, etc.). This will create a category. --> | ||
|subrace = <!-- Your character's subrace (ex: Xaela, Raen, Keeper of the Moon...). This will create a category. --> | |subrace = <!-- Your character's subrace (ex: Xaela, Raen, Keeper of the Moon...). This will create a category. --> | ||
+ | |gender = <!-- Your character's gender identity (ex: Male, Female, Transgender, Genderfluid, etc.). --> | ||
+ | |sexualorientation = <!-- Your character's sexual preference --> | ||
+ | |relationship = <!-- Your character's relationship status (ex: single, married, engaged, etc.) --> | ||
+ | |nameday = <!-- Your character's nameday. --> | ||
+ | |age = <!-- Your character's age. --> | ||
|guardian = <!-- Your character's guardian. --> | |guardian = <!-- Your character's guardian. --> | ||
|birthplace = <!-- Where your character was born. --> | |birthplace = <!-- Where your character was born. --> | ||
− | |||
|tribe = <!-- Tribal affiliation for Xaela (ex: Dotharl, Qalli, Kha). This will create a category. --> | |tribe = <!-- Tribal affiliation for Xaela (ex: Dotharl, Qalli, Kha). This will create a category. --> | ||
+ | |house = <!-- House affiliation if applicable (ex: House Fortemps). --> | ||
|occupation = <!-- Your character's occupation. --> | |occupation = <!-- Your character's occupation. --> | ||
|family = <!-- Any family your character might have. --> | |family = <!-- Any family your character might have. --> | ||
}} | }} | ||
</pre> | </pre> | ||
+ | <br> | ||
+ | ===Notes=== __NOEDITSECTION__ | ||
+ | <hr><br> | ||
+ | Contributors: [[User:Shieke|Shieke]] | ||
− | + | ''If you want a more customized version of this infobox, feel free to contact the contributors directly!'' | |
+ | <br><br> | ||
+ | ===Changelog=== __NOEDITSECTION__ | ||
+ | <hr> | ||
+ | <br> | ||
+ | :'''10-21-2018:''' Added "Age" field.<br> | ||
+ | :'''09-03-2018:''' Added a changelog. Updated description. Added in "Gender," "Sexual Orientation," "Relationship Status," and "House" fields.<br> | ||
+ | :'''09-02-2018:''' Template created. | ||
[[category:Wiki Templates]] | [[category:Wiki Templates]] |
Latest revision as of 13:47, 1 February 2020
Infobox-rounded | |
Character Information | |
---|---|
Full Name | {{{fullname}}} |
Nickname(s) | {{{nicknames}}} |
Race | [[:Category:{{{race}}}|{{{race}}}]] |
Subrace | [[:Category:{{{subrace}}}|{{{subrace}}}]] |
Gender | {{{gender}}} |
Sexual Orientation | {{{sexualorientation}}} |
Relationship Status | {{{relationship}}} |
Nameday | {{{nameday}}} |
Age | {{{age}}} |
Guardian | {{{guardian}}} |
Birthplace | {{{birthplace}}} |
Tribe | [[:Category:{{{tribe}}}|{{{tribe}}}]] |
House | {{{house}}} |
Occupation | {{{occupation}}} |
Family | {{{family}}} |
I wanted something simple with rounded corners so I made this infobox with that in mind! Inspiration was taken from the RoeBox infobox! All of the fields listed below are optional, which means that if you leave the area blank it will not generate that option. This allows for greater customization when making your infobox!
Copy Code
{{Infobox-rounded |name = {{PAGENAME}} <!-- The title on your infobox. Defaults to the page name. --> |image = Placeholder_person.gif <!-- An image of your character. Defaults to Placeholder_person.gif. --> |caption = Put your caption here!<!-- A caption for the image if you want to put one in there. --> |fullname = {{PAGENAME}} <!-- Your character's name. --> |nicknames = <!-- Any nicknames your character has. --> |race = <!-- Your character's race (ex: Hyur, Miqo'te, etc.). This will create a category. --> |subrace = <!-- Your character's subrace (ex: Xaela, Raen, Keeper of the Moon...). This will create a category. --> |gender = <!-- Your character's gender identity (ex: Male, Female, Transgender, Genderfluid, etc.). --> |sexualorientation = <!-- Your character's sexual preference --> |relationship = <!-- Your character's relationship status (ex: single, married, engaged, etc.) --> |nameday = <!-- Your character's nameday. --> |age = <!-- Your character's age. --> |guardian = <!-- Your character's guardian. --> |birthplace = <!-- Where your character was born. --> |tribe = <!-- Tribal affiliation for Xaela (ex: Dotharl, Qalli, Kha). This will create a category. --> |house = <!-- House affiliation if applicable (ex: House Fortemps). --> |occupation = <!-- Your character's occupation. --> |family = <!-- Any family your character might have. --> }}
Notes
Contributors: Shieke
If you want a more customized version of this infobox, feel free to contact the contributors directly!
Changelog
- 10-21-2018: Added "Age" field.
- 09-03-2018: Added a changelog. Updated description. Added in "Gender," "Sexual Orientation," "Relationship Status," and "House" fields.
- 09-02-2018: Template created.