Difference between revisions of "Template:SupergroupBox"

From Ouroboros Portal
Jump to: navigation, search
m (saving progress)
m (forgot to update the paramaters that were being read in the ranks)
 
(17 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
|#default = border-color:#861316}}"  border="1"
 
|#default = border-color:#861316}}"  border="1"
 
|-
 
|-
| colspan="2" style="text-align:center" | [[Image:{{{image|Confidentialimage.jpg}}}|300px|]]
+
| colspan="2" style="text-align:center" | {{{image|[[File:Confidentialimage.jpg|300px]]}}}
 
|-
 
|-
 
| colspan="2" style="text-align:center; font-size:90%" | {{{caption|}}}
 
| colspan="2" style="text-align:center; font-size:90%" | {{{caption|}}}
 
|-
 
|-
| colspan="2" style="text-align:center; font-size:large; background:#9495CA; font-family:Red Circle; sans-serif" | {{{name|Unknown}}}
+
| colspan="2" style="text-align:center; font-size:large; {{#switch: {{lc:{{{alignment}}}}}
 +
|h
 +
|hero
 +
|blue = background:#9495CA;
 +
|v
 +
|vill
 +
|villain
 +
|red = background:#861316;}} font-family:Red Circle; sans-serif" | {{{name|Unknown}}}
 
|-
 
|-
| colspan="2" style="text-align:center; background:#9495CA; font-size:90%" | '''Server: {{{server|}}}'''
+
| colspan="2" style="text-align:center; {{#switch: {{lc:{{{alignment}}}}}
 +
|h
 +
|hero
 +
|blue = background:#9495CA;
 +
|v
 +
|vill
 +
|villain
 +
|red = background:#861316;}} font-size:90%" | '''Server: {{{server|}}}'''
 
|-
 
|-
| colspan="2" style="text-align:center; background:#012C61" | '''Supergroup Data'''
+
| colspan="2" style="text-align:center; {{#switch: {{lc:{{{alignment}}}}}
 +
|h
 +
|hero
 +
|blue = background:#012C61
 +
|v
 +
|vill
 +
|villain
 +
|red = background:#461B1B}}" | '''Supergroup Data'''
 
|-
 
|-
! Real Name:
+
! Founded:
| ''{{{realname|Confidential}}}''
+
| ''{{{founded|Confidential}}}''
 
|-
 
|-
! Known Aliases:
+
! style="vertical-align:middle" | Founder(s):
| ''{{{aliases|None}}}''
+
| style="vertical-align:middle" | ''{{{founders|Confidential}}}''
 
|-
 
|-
! Species:
+
! {{#if: {{{emblem|}}}| style="vertical-align:middle" {{!}} }}Emblem:
| ''{{{species|Presumed Human}}}''  
+
| {{#if: {{{emblem|}}}| align=center {{!}} {{{emblem}}}|''Confidential''}}
 
|-
 
|-
! Age:
+
! style="vertical-align:middle" | Primary<br />Color:
| ''{{{age|Confidential}}}''
+
| style="vertical-align:middle" | ''{{{color1|Confidential}}}''
 
|-
 
|-
! Height:
+
! style="vertical-align:middle" | Secondary<br />Color:
| ''{{{height|Confidential}}}''
+
| style="vertical-align:middle" | ''{{{color2|Confidential}}}''
 
|-
 
|-
! Weight:
+
| colspan="2" style="text-align:center; {{#switch: {{lc:{{{alignment}}}}}
| ''{{{weight|Confidential}}}''
+
|h
 +
|hero
 +
|blue = background:#012C61
 +
|v
 +
|vill
 +
|villain
 +
|red = background:#461B1B}}" | '''Rank Titles'''
 
|-
 
|-
! Eye Color:
+
! {{#switch: {{lc:{{{alignment}}}}}
| ''{{{eyes|Confidential}}}''
+
|h
 +
|hero
 +
|blue = Leader:
 +
|v
 +
|vill
 +
|villain
 +
|red = Overlord:
 +
|#default = Tier 1:}}
 +
| ''{{{rank1|Confidential}}}''
 
|-
 
|-
! Hair Color:
+
! {{#switch: {{lc:{{{alignment}}}}}
| ''{{{hair|Confidential}}}''
+
|h
|-
+
|hero
| colspan="2" style="text-align:center; background:#012C61" | '''Biographical Data'''
+
|blue = Commander:
 +
|v
 +
|vill
 +
|villain
 +
|red = Kingpin:
 +
|#default = Tier 2:}}
 +
| ''{{{rank2|Confidential}}}''
 
|-
 
|-
! Nationality:
+
! {{#switch: {{lc:{{{alignment}}}}}
| ''{{{nationality|Confidential}}}''
+
|h
 +
|hero
 +
|blue = General:
 +
|v
 +
|vill
 +
|villain
 +
|red = Ringleader:
 +
|#default = Tier 3:}}
 +
| ''{{{rank3|Confidential}}}''
 
|-
 
|-
! Occupation:
+
! {{#switch: {{lc:{{{alignment}}}}}
| ''{{{occupation|Confidential}}}''
+
|h
 +
|hero
 +
|blue = Captain:
 +
|v
 +
|vill
 +
|villain
 +
|red = Taskmaster:
 +
|#default = Tier 4:}}
 +
| ''{{{rank4|Confidential}}}''
 
|-
 
|-
! Place of Birth:
+
! {{#switch: {{lc:{{{alignment}}}}}
| ''{{{birthplace|Confidential}}}''
+
|h
 +
|hero
 +
|blue = Lieutenant:
 +
|v
 +
|vill
 +
|villain
 +
|red = Enforcer:
 +
|#default = Tier 5:}}
 +
| ''{{{rank5|Confidential}}}''
 
|-
 
|-
! Base of Operations:
+
! {{#switch: {{lc:{{{alignment}}}}}
| ''{{{hometown|Confidential}}}''
+
|h
 +
|hero
 +
|blue = Member:
 +
|v
 +
|vill
 +
|villain
 +
|red = Flunky:
 +
|#default = Tier 6:}}
 +
| ''{{{rank6|Confidential}}}''
 +
|-
 +
| colspan="2" style="text-align:center; {{#switch: {{lc:{{{alignment}}}}}
 +
|h
 +
|hero
 +
|blue = background:#012C61
 +
|v
 +
|vill
 +
|villain
 +
|red = background:#461B1B}}" | '''Motto'''
 
|-
 
|-
! Marital Status:
+
| colspan="2" style="text-align:center" | ''{{{motto|None}}}''
| ''{{{marital|Confidential}}}''
+
|-  
|-
+
| colspan="2" style="text-align:center; {{#switch: {{lc:{{{alignment}}}}}
! Known Relatives:
+
|h
| ''{{{relatives|Confidential}}}''
+
|hero
|-
+
|blue = background:#012C61
|-
+
|v
| colspan="2" style="font-size:smaller; text-align:center; background:#012C61" | '''Known Powers'''
+
|vill
|-
+
|villain
| colspan="2" style="font-size:smaller; text-align:center" | ''{{{powers|Confidential}}}''
+
|red = background:#461B1B}}" | '''Description'''
|-
+
| colspan="2" style="font-size:smaller; text-align:center; background:#012C61" | '''Known Abilities'''
+
|-
+
| colspan="2" style="font-size:smaller; text-align:center" | ''{{{abilities|Confidential}}}''
+
|-
+
| colspan="2" style="font-size:smaller; text-align:center; background:#012C61" | '''Equipment'''
+
|-
+
| colspan="2" style="font-size:smaller; text-align:center" | ''{{{equipment|Confidential}}}''
+
 
|-
 
|-
 +
| colspan="2" style="text-align:center" | ''{{{description|None}}}''
 +
|-
 +
| colspan="2" style="text-align:center; {{#switch: {{lc:{{{alignment}}}}}
 +
|h
 +
|hero
 +
|blue = background:#012C61
 +
|v
 +
|vill
 +
|villain
 +
|red = background:#461B1B}}" | '''Additional Information'''
 
|-
 
|-
 
| colspan="2" style="font-size:smaller; text-align:center" | ''{{{footnotes|No additional information available.}}}''
 
| colspan="2" style="font-size:smaller; text-align:center" | ''{{{footnotes|No additional information available.}}}''

Latest revision as of 17:05, 21 January 2010

Confidentialimage.jpg
Unknown
Server:
Supergroup Data
Founded: Confidential
Founder(s): Confidential
Emblem: Confidential
Primary
Color:
Confidential
Secondary
Color:
Confidential
Rank Titles
Tier 1: Confidential
Tier 2: Confidential
Tier 3: Confidential
Tier 4: Confidential
Tier 5: Confidential
Tier 6: Confidential
Motto
None
Description
None
Additional Information
No additional information available.


[edit] Documentation

Usage

The SupergroupBox is an Infobox style template intended for use on Supergroup pages to provide at-a-glance information about a supergroup.

Including the SupergroupBox template in an article can be accomplished by placing the following tag in the page:

{{SupergroupBox

Following the opening template call, there are several parameter that may be specified to fill in the information displayed by the template. A complete list of these parameters is documented below. The format for filling in a parameter is as follows:

| parameter = value

i.e.

| name = Superheroes of Paragon

This will replace the {{{name}}} placeholder in the template with "Superheroes of Paragon". (Placing each parameter on its own line makes parsing and debugging the template call easier in the event that something goes wrong.)

The footnotes field of the HeroBox/VillainBox use a smaller font because it is designed to accommodate what could potentially be a lengthy block of text.

While the template allows for rather lengthy descriptions in almost every field, the main body of the page is a better place to expand on any information, leaving SupergroupBox for a quick summary of the most important supergroup data.

Closing the template call is accomplished by appending the following at the end of your parameter list:

|}}

And with this, you're set.

List of Parameters

alignment
This parameter specifies whether your supergroup is a hero or villain group. The value defined for this parameter will change the color palette of the template to blue for heroes and red for villains. If an invalid value is specified for this parameter or definition of this parameter is omitted from the template call, the color scheme of the template will default to black text on a white background.
image
This is an image which you feel is representative of your supergroup. For example, you might use a screenshot of several of your members gathered together for a picture with everyone wearing your supergroup's colors or fighting together in a PvP zone. You might use a high-resolution, custom-designed image that shows off your supergroup's colors and emblem.
Using an uploaded image - If using an image that has been uploaded to the wiki, be sure to size-limit any image over 300 pixels wide in the file tag.
300px
Using an external image - If using an image that has not been uploaded to the wiki, be sure that the image you are using is 300 or fewer pixels wide since (as of 20 January 2010) there is apparently no existing method for limiting the display size of an external image in MediaWiki. Note that no brackets are used when embedding an external image.
http://site/path/image
Confidentialimage.jpg
If the image parameter is not defined, the image will default to the Confidentialimage.jpg image shown to the right.


caption
Text defined with this parameter will be placed beneath the image specified by the image parameter. If this parameter is not defined, no text will be placed below the image.
name
The name of the supergroup. If this parameter is not defined, it will default to a displayed value of "Unknown".
server
The server on which the supergroup resides. If this parameter is not defined, no value will be displayed.
founded
This is the date when the supergroup was created by registering with the Registrar. If this parameter is not defined, it will default to a displayed value of "Confidential".
founders
The founding member(s) of the supergroup. This may be a simple list, and names of founders may be linked to character profiles here in Ouroborous Portal. (Separating each founder with a line break can be forced by placing a <br /> tag between names in the list.) If this parameter is not defined, it will default to a displayed value of "Confidential".
emblem
This is the supergroup's in-game emblem. All in-game SG emblem images have already been uploaded to the image repository shared between Ouroboros Portal and Paragon Wiki. These images can be used by placing a File tag in this parameter as with using uploaded images in the image parameter (described above). In the event that an emblem does not display well against the background of the template, it may help to make use of a {{Emblem Contrast}} template call in this parameter. If this parameter is not defined, it will default to a displayed value of "Confidential".
color1
The supergroup's primary color. This parameter will take normal text if desired. A full set of color samples from the costume color palette has been uploaded to the image repository shared between Ouroboros Portal and Paragon Wiki. These images can be used by placing a File tag in this parameter as with using uploaded images in the image parameter (described above). It is recommended due to the size of the color sample images that the displayed image size be limited to 50 pixels. You may also wish to center the image for aesthetic purposes.
color2
The supergroup's secondary color. This parameter will take normal text if desired. A full set of color samples from the costume color palette has been uploaded to the image repository shared between Ouroboros Portal and Paragon Wiki. These images can be used by placing a File tag in this parameter as with using uploaded images in the image parameter (described above). It is recommended due to the size of the color sample images that the displayed image size be limited to 50 pixels. You may also wish to center the image for aesthetic purposes.
rank1
The title given to the highest ranking members of the supergroup. This is the title displayed next to Leader on the hero supergroup registration form or Overlord on the villain registration form. If this parameter is not defined, it will default to a displayed value of "Confidential".
rank2
The title given to the second highest ranking members of the supergroup. This is the title displayed next to Commander on the hero supergroup registration form or Kingpin on the villain registration form. If this parameter is not defined, it will default to a displayed value of "Confidential".
rank3
The title given to the upper-middle ranking members of the supergroup. This is the title displayed next to General on the hero supergroup registration form or Ringleader on the villain registration form. If this parameter is not defined, it will default to a displayed value of "Confidential".
rank4
The title given to the lower-middle ranking members of the supergroup. This is the title displayed next to Captain on the hero supergroup registration form or Taskmaster on the villain registration form. If this parameter is not defined, it will default to a displayed value of "Confidential".
rank5
The title given to the second lowest ranking members of the supergroup. This is the title displayed next to Lieutenant on the hero supergroup registration form or Enforcer on the villain registration form. If this parameter is not defined, it will default to a displayed value of "Confidential".
rank6
The title given to the lowest ranking members of the supergroup. This is the title displayed next to Member on the hero supergroup registration form or Flunky on the villain registration form. If this parameter is not defined, it will default to a displayed value of "Confidential".
motto
The supergroup's motto that appears on the supergroup registration form. If this parameter is not defined, it will default to a displayed value of "Confidential".
description
The supergroup's description that appears on the supergroup registration form. If this parameter is not defined, it will default to a displayed value of "Confidential".
footnotes
Use this parameter to include any additional notes you wish to place in the infobox. If this parameter is not defined, it will default to a displayed value of "No additional information available."

Cheat Sheet

Just copy/paste the below list into your supergroup's page. Fill in any parameters that you wish to specify and leave all other lines blank or delete them.

{{SupergroupBox
|alignment=
|image=
|caption=
|name=
|server=
|founded=
|founders=
|emblem=
|color1=
|color2=
|rank1=
|rank2=
|rank3=
|rank4=
|rank5=
|rank6=
|motto=
|description=
|footnotes=
|}}

See also