Template:UnGroupBox: Difference between revisions

From FBSA Wiki
Jump to navigation Jump to search
(Created page with "{| class="infobox" style="border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; cle...")
 
mNo edit summary
 
(19 intermediate revisions by the same user not shown)
Line 6: Line 6:
|<tr><td colspan="2" style="text-align:center; font-size:0.9em">{{{caption|}}}</td></tr>
|<tr><td colspan="2" style="text-align:center; font-size:0.9em">{{{caption|}}}</td></tr>
}}
}}
{{#if:{{{logimage|}}}
{{#if:{{{logoimage|}}}
|<tr><td colspan="2" style="text-align:center">[[Image:{{{logoimage}}}]]</td></tr>
|<tr><td colspan="2" style="text-align:center;{{#if:{{#expr:{{{colour1}}} and {{{colour2}}}}}|background-image:linear-gradient(to bottom right,{{GC|{{{colour1}}}}},{{GC|{{{colour2}}}}});}}{{#if:{{#expr:({{{colour1}}} or {{{colour2}}}) and not({{{colour1}}} and {{{colour2}}})}}|background-colour: {{GC|{{{colour1}}}}}}}">[[Image:{{{logoimage}}}]]</td></tr>
}}
}}
|-
|-
| colspan="2" style="text-align:center; font-size:2em; font-family:Red Circle,serif" | '''{{{name|Unknown Supergroup}}}'''
| colspan="2" style="text-align:center; font-size:2em; font-family:Red Circle,Paragon City,fantasy,sans-serif; | '''{{{name|Unknown Supergroup}}}'''
|-
|-
| colspan="2" style="text-align:center" | '''Founder: {{{founder|Confidential}}}'''
| colspan="2" style="text-align:center" | '''Founder: {{{founder|Confidential}}}'''
Line 62: Line 62:
! Contact:
! Contact:
| ''{{{contact|Group leader}}}''
| ''{{{contact|Group leader}}}''
|-
{{#if:{{{coalition|}}}
|<tr><td colspan="2" style="text-align:center">'''Coalition'''</td></tr><tr><td colspan="2">{{{coalition|}}}</td></tr>
}}
{{#if:{{{footnotes|}}}
{{#if:{{{footnotes|}}}
|<tr><td colspan="2" style="text-align:center">''{{{footnotes|No additional information available.}}}''</td></tr>
|<tr><td colspan="2" style="text-align:center">''{{{footnotes|No additional information available.}}}''</td></tr>
Line 76: Line 80:
| caption =  
| caption =  
| name =  
| name =  
| server =
| founder =  
| founder =  
| side =  
| side =  
Line 84: Line 89:
| logoimage = <!-- filename from https://hcwiki.cityofheroes.dev/wiki/Category:Super_Group_Emblem_Images -->
| logoimage = <!-- filename from https://hcwiki.cityofheroes.dev/wiki/Category:Super_Group_Emblem_Images -->
| colours =  
| colours =  
| colour1 = <!-- GC template reference to give the logo a background colour -->
| colour2 = <!-- optionally, a second colour to make that a gradient -->
| base = <!-- where the base is supposed to "really" be -->
| base = <!-- where the base is supposed to "really" be -->
| basecode =  
| basecode =  
Line 92: Line 99:
| recruiting =  
| recruiting =  
| contact =  
| contact =  
| coalition = <!-- consider using Template:Plainlist for this! -->
| footnotes =  
| footnotes =  
|}}</nowiki>
|}}</nowiki>

Latest revision as of 00:38, 6 October 2021

Unknown Supergroup
Founder: Confidential
Basics
Alignment(s): Unknown
Motto: None
Leader(s): Unknown
Server: Unknown
Logo: Unknown
Group Colours: Unknown
Playerbase
Levels: All
Play style: Casual
Roleplay: Optional
Timezone(s): Any
Recruiting: Not at this time
Contact: Group leader

Because exactly what we need is another userbox template, but I find the colour scheme and formatting on a lot of them hard to read. This one is based on Template:UnBox, which is heavily based on the solid HeroBox template (or some derivative), and should be more or less drop-in compatible.

Cheat Sheet

Here it is in all its boring glory. Remove fields that you're not using to get the default values for them. For most, that's "confidential", although some fields should disappear entirely if they're not used.

{{UnGroupBox
| image = 
| caption = 
| name = 
| server = 
| founder = 
| side = 
| alignimage = <!-- put anything here to have the "side" parameter searched for the names of alignments or the word any and insert an appropriate faction symbol -->
| motto = 
| leader = 
| logo = 
| logoimage = <!-- filename from https://hcwiki.cityofheroes.dev/wiki/Category:Super_Group_Emblem_Images -->
| colours = 
| colour1 = <!-- GC template reference to give the logo a background colour -->
| colour2 = <!-- optionally, a second colour to make that a gradient -->
| base = <!-- where the base is supposed to "really" be -->
| basecode = 
| levels = 
| playstyle = 
| roleplay = 
| timezone = 
| recruiting = 
| contact = 
| coalition = <!-- consider using Template:Plainlist for this! -->
| footnotes = 
|}}