Difference between revisions of "Template:Infobox-rounded"

From RPC Library
Jump to navigation Jump to search
m
Line 5: Line 5:
 
|-
 
|-
 
{{#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|}}} | <br/><br/>''{{{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> | }}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 104: Line 104:
 
|name = {{PAGENAME}} <!-- The title on your infobox. Defaults to the page name. -->
 
|name = {{PAGENAME}} <!-- The title on your infobox. Defaults to the page name. -->
 
|image = Templatedefault.png <!-- An image of your character. Defaults to Templatedefault.png. -->
 
|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. -->
+
|caption = Put your caption here!<!-- A caption for the image if you want to put one in there. -->
 
|fullname = {{PAGENAME}} <!-- Your character's name. -->
 
|fullname = {{PAGENAME}} <!-- Your character's name. -->
 
|nicknames = <!-- Any nicknames your character has. -->
 
|nicknames = <!-- Any nicknames your character has. -->

Revision as of 05:36, 6 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}}}
Sexual Orientation {{{sexualorientation}}}
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 = 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. -->
|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," "Sexual Orientation," "Relationship Status," and "House" fields.
09-02-2018: Template created.