Difference between revisions of "Template:Infobox-rounded"

From RPC Library
Jump to navigation Jump to search
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:{{{sexuality<includeonly>|</includeonly>}}} |
 +
{{!}}style="width:30%; padding: .2em .5em; border-radius: 5px 0 0 5px; background-color: #595959; color: #fff;"{{!}}'''Sexuality'''
 +
{{!}}style=" border-radius: 0 5px 5px 0; background: #e5e5e5; padding: .2em .5em;" {{!}}{{{sexuality}}}
 +
{{!}}-
 +
}}
 +
{{#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}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 46: Line 66:
 
{{!}}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}}}
{{!}}-
 
}}
 
{{#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}}}
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 56: Line 71:
 
{{!}}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 96:
 
<noinclude>
 
<noinclude>
  
I wanted something simple with rounded corners so I made this infobox with that in mind! Inspiration was taken from the RoeBox infobox!
+
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!
 
 
You can copy the code below to use it in your page.
 
  
 +
===Copy Code===
 +
<hr><br>
 
<pre>
 
<pre>
 
{{Infobox-rounded
 
{{Infobox-rounded
Line 89: Line 109:
 
|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.). -->
 +
|sexuality = <!-- Your character's sexual preference -->
 +
|relationship = <!-- Your character's relationship status (ex: single, married, engaged, etc.) -->
 +
|nameday = <!-- Your character's nameday. -->
 
|guardian = <!-- Your character's guardian. -->
 
|guardian = <!-- Your character's guardian. -->
 
|birthplace = <!-- Where your character was born. -->
 
|birthplace = <!-- Where your character was born. -->
|nameday = <!-- Your character's nameday. -->
 
 
|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. -->
Line 98: Line 122:
 
</pre>
 
</pre>
  
 +
===Notes===
 +
<hr><br>
 
Contributors: [[User:Shieke|Shieke]]
 
Contributors: [[User:Shieke|Shieke]]
 +
 +
''If you want a more customized version of this infobox, feel free to contact the contributors directly!''
 +
<br><br>
 +
===Changelog===
 +
<hr>
 +
<br>
 +
:'''09-03-2018:''' Added a changelog. Updated description. Added in "Gender," "Sexuality," "Relationship Status," and "House" fields.<br>
 +
:'''09-02-2018:''' Template created.
  
 
[[category:Wiki Templates]]
 
[[category:Wiki Templates]]

Revision as of 20:05, 3 September 2018

Infobox-rounded
Placeholder person.gif
Character Information
Full Name {{{fullname}}}
Nickname(s) {{{nicknames}}}
Race [[:Category:{{{race}}}|{{{race}}}]]
Subrace [[:Category:{{{subrace}}}|{{{subrace}}}]]
Gender {{{gender}}}
Sexuality {{{sexuality}}}
Relationship Status {{{relationship}}}
Nameday {{{nameday}}}
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 = Templatedefault.png <!-- An image of your character. Defaults to Templatedefault.png. -->
|caption = <!-- 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.). -->
|sexuality = <!-- Your character's sexual preference -->
|relationship = <!-- Your character's relationship status (ex: single, married, engaged, etc.) -->
|nameday = <!-- Your character's nameday. -->
|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



09-03-2018: Added a changelog. Updated description. Added in "Gender," "Sexuality," "Relationship Status," and "House" fields.
09-02-2018: Template created.