Template:UnGroupBox: Difference between revisions

From FBSA Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(14 intermediate revisions by the same user not shown)
Line 7: Line 7:
}}
}}
{{#if:{{{logoimage|}}}
{{#if:{{{logoimage|}}}
|<tr><td colspan="2" style="text-align:center{{#if:{{{colour1|}}}|; background-image:linear-gradient({{GC|{{{colour1}}}}}{{#if:{{{colour2|}}}|, {{GC|{{{colour2}}}}}}})}}">[[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 94: 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 = 
|}}