Difference between revisions of "Template:Infobox-Groups"
Jump to navigation
Jump to search
m |
m |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
<includeonly>{| class="infobox" style="font-size:89%; width:300px; align:right;" | <includeonly>{| class="infobox" style="font-size:89%; width:300px; align:right;" | ||
|- | |- | ||
− | | colspan="2" style="font-weight:bold;background-color:#{{ | + | | colspan="2" style="font-weight:bold;background-color:#{{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}}; font-size:150%; padding:3px;" | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} |
|- style="text-align:center;" | |- style="text-align:center;" | ||
| colspan="2" style="padding:0.5em;" | [[Image:{{#if: {{{image|}}} | {{{image}}} | Placeholder_person.gif}}|{{#if: {{{imagewidth|}}} | {{{imagewidth}}} | 250}}px]]{{#if: {{{caption|}}} | <br/>''{{{caption}}}'' | }} | | colspan="2" style="padding:0.5em;" | [[Image:{{#if: {{{image|}}} | {{{image}}} | Placeholder_person.gif}}|{{#if: {{{imagewidth|}}} | {{{imagewidth}}} | 250}}px]]{{#if: {{{caption|}}} | <br/>''{{{caption}}}'' | }} | ||
Line 9: | Line 8: | ||
{{!}} colspan="2" {{!}} <center>'''{{{title}}}'''</center> | {{!}} colspan="2" {{!}} <center>'''{{{title}}}'''</center> | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{ | + | | '''Base Location''' |
− | {{ | + | | {{#if: {{{base_location|}}} | {{{base_location}}} | Unknown }} |
− | {{ | + | |- |
− | {{ | + | | '''Group Type''' |
− | | ''' | + | | {{#if: {{{group_type|}}} | {{{group_type}}} | Unknown }} |
− | | {{#if: {{{ | + | |- |
+ | | '''Colors''' | ||
+ | | <span style="background-color:#{{{colors|}}}; color:{{{3|}}}; border:1px solid #000000; text-align:center;">{{#if:{{{2|}}}| {{{2}}} | }}</span> | ||
|- | |- | ||
− | | ''' | + | | '''Leader''' |
− | | {{#if: {{{ | + | | {{#if: {{{leader|}}} | {{{leader}}} | Unknown }} |
|- | |- | ||
− | | ''' | + | | '''Member Count''' |
− | | {{#if: {{{ | + | | {{#if: {{{member_count|}}} | {{{member_count}}} | Unknown }} |
|- | |- | ||
{{#if: {{{stat_1|}}} | | {{#if: {{{stat_1|}}} | | ||
Line 46: | Line 47: | ||
{{!}} {{{stat_6_value}}} | {{!}} {{{stat_6_value}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
− | |} | + | {{#if: {{{stat_7|}}} | |
− | + | {{!}} '''{{{stat_7}}}''' | |
− | + | {{!}} {{{stat_7_value}}} | |
− | + | {{!}}- | }} | |
− | | | + | {{#if: {{{stat_8|}}} | |
− | | | + | {{!}} '''{{{stat_8}}}''' |
− | + | {{!}} {{{stat_8_value}}} | |
− | + | {{!}}- | }} | |
− | | | + | {{#if: {{{stat_9|}}} | |
− | + | {{!}} '''{{{stat_9}}}''' | |
− | | | + | {{!}} {{{stat_9_value}}} |
− | | | + | {{!}}- | }} |
− | + | {{#if: {{{stat_10|}}} | | |
− | + | {{!}} '''{{{stat_10}}}''' | |
− | + | {{!}} {{{stat_10_value}}} | |
− | + | {{!}}- | }} | |
− | | | + | |} |
− | | | + | </includeonly><noinclude> |
− | |||
{{Arcane-template-syntax}} | {{Arcane-template-syntax}} | ||
+ | '''***PLEASE DO NOT USE UNTIL VERSION RELEASE. STILL IN TEST PHASE.***''' | ||
− | |||
− | + | Use this template to create a generic "infobox" for groups, wither it be for a roleplay band, tribe or even pirates! You can use this table to make a right-aligned tyable of statistics. Some default options are offered but the table offers another ten values to allow you to customize more of your table. | |
− | Use this template to create a generic "infobox" for a | ||
===Syntax=== | ===Syntax=== | ||
Line 83: | Line 82: | ||
| '''colorcode''' = (optional)The background color for name header, defaults to transparent. Enter HTML color code without "#". | | '''colorcode''' = (optional)The background color for name header, defaults to transparent. Enter HTML color code without "#". | ||
| '''base_location''' = (optional) The group's base location, defaults to "Unknown" | | '''base_location''' = (optional) The group's base location, defaults to "Unknown" | ||
+ | | '''group_type''' = (optional) The type of group (ie tribe, pirate, band), defaults to "Unknown". | ||
| '''colors''' = (optional) The color that represents your group, defaults to "000000". Enter HTML color code without "#". | | '''colors''' = (optional) The color that represents your group, defaults to "000000". Enter HTML color code without "#". | ||
| '''leader''' = (optional) The leader of the group, defaults to "Unknown". | | '''leader''' = (optional) The leader of the group, defaults to "Unknown". | ||
| '''member_count''' = (optional) The member count of the group, defaults to "Unknown". | | '''member_count''' = (optional) The member count of the group, defaults to "Unknown". | ||
− | |||
| '''stat_1''' = (optional) The first statistics row title | | '''stat_1''' = (optional) The first statistics row title | ||
| '''stat_1_value''' = (optional) The first statistics row value | | '''stat_1_value''' = (optional) The first statistics row value | ||
Line 118: | Line 117: | ||
| colorcode = | | colorcode = | ||
| base_location = | | base_location = | ||
+ | | group_type = | ||
| colors = | | colors = | ||
| leader = | | leader = | ||
| member_count = | | member_count = | ||
− | |||
| stat_1 = | | stat_1 = | ||
| stat_1_value = | | stat_1_value = |
Latest revision as of 12:57, 2 September 2013
Warning! This template uses arcane features of template syntax, such as parser functions, or is particularly complex. Please don't edit it unless you know exactly what you're doing.
***PLEASE DO NOT USE UNTIL VERSION RELEASE. STILL IN TEST PHASE.***
Use this template to create a generic "infobox" for groups, wither it be for a roleplay band, tribe or even pirates! You can use this table to make a right-aligned tyable of statistics. Some default options are offered but the table offers another ten values to allow you to customize more of your table.
Syntax
{{Infobox-Groups | name = (optional) The group's name, defaults to the page name without the namespace. | image = (optional) The name of the image file for the group, defaults to a placeholder. | imagewidth = (optional) The width of the image in pixels, defaults to 250. | caption = (optional) A caption for the image. | title = (optional) The group's title. | colorcode = (optional)The background color for name header, defaults to transparent. Enter HTML color code without "#". | base_location = (optional) The group's base location, defaults to "Unknown" | group_type = (optional) The type of group (ie tribe, pirate, band), defaults to "Unknown". | colors = (optional) The color that represents your group, defaults to "000000". Enter HTML color code without "#". | leader = (optional) The leader of the group, defaults to "Unknown". | member_count = (optional) The member count of the group, defaults to "Unknown". | stat_1 = (optional) The first statistics row title | stat_1_value = (optional) The first statistics row value | stat_2 = (optional) The second statistics row title | stat_2_value = (optional) The second statistics row value | stat_3 = (optional) The third statistics row title | stat_3_value = (optional) The third statistics row value | stat_4 = (optional) The fourth statistics row title | stat_4_value = (optional) The fourth statistics row value | stat_5 = (optional) The fifth statistics row title | stat_5_value = (optional) The fifth statistics row value | stat_6 = (optional) The sixth statistics row title | stat_6_value = (optional) The sixth statistics row value | stat_7 = (optional) The seventh statistics row title | stat_7_value = (optional) The seventh statistics row value | stat_8 = (optional) The eigth statistics row title | stat_8_value = (optional) The eigth statistics row value | stat_9 = (optional) The nineth statistics row title | stat_9_value = (optional) The nineth statistics row value | stat_10 = (optional) The tenth statistics row title | stat_10_value = (optional) The tenth statistics row value }}
Copy-paste
{{Infobox-Groups | name = | image = | imagewidth = | caption = | title = | colorcode = | base_location = | group_type = | colors = | leader = | member_count = | stat_1 = | stat_1_value = | stat_2 = | stat_2_value = | stat_3 = | stat_3_value = | stat_4 = | stat_4_value = | stat_5 = | stat_5_value = | stat_6 = | stat_6_value = | stat_7 = | stat_7_value = | stat_8 = | stat_8_value = | stat_9 = | stat_9_value = | stat_10 = | stat_10_value = }}