Difference between revisions of "Template:Infobox-rounded"
Jump to navigation
Jump to search
(Created page with "This is going to be a theme page, and will be available once it is done being developed! ^-^") |
|||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | This | + | <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%;" | ||
+ | |- | ||
+ | |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>}}} | | ||
+ | {{!}} 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; font-variant: small-caps;" {{!}} '''Character Information''' | ||
+ | |- | ||
+ | !colspan="2" style="height: .5em;" {{!}} ''' ''' | ||
+ | |- | ||
+ | |||
+ | |} | ||
+ | <div style="font-size: 1.1em; border-radius: 5px; background-color: #fff; padding: .5em; margin: -.2em .16em .16em;"> | ||
+ | {| cellpadding="4" style="border-collapse: separate; border-spacing: 0px 5px;" | ||
+ | |- | ||
+ | {{#if:{{{fullname<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;" {{!}}'''Full Name''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{fullname}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{nicknames<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Nickname(s)''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{nicknames}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{race<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Race''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}[[:Category:{{{race}}}|{{{race}}}]] | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{subrace<includeonly>|</includeonly>}}} | | ||
+ | {{!}}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}}}]] | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#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}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{guardian<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Guardian''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{guardian}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{birthplace<includeonly>|</includeonly>}}} | | ||
+ | {{!}}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}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{tribe<includeonly>|</includeonly>}}} | | ||
+ | {{!}}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}}}]] | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#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}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{occupation<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Occupation''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{occupation}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{family<includeonly>|</includeonly>}}} | | ||
+ | {{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Family''' | ||
+ | {{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{family}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | |- | ||
+ | |} | ||
+ | </div> | ||
+ | |||
+ | </div> | ||
+ | |||
+ | <noinclude> | ||
+ | |||
+ | 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> | ||
+ | {{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. --> | ||
+ | }} | ||
+ | </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]] |
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.