Template:UnGroupBox: Difference between revisions

From FBSA Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
}}
}}
{{#if:{{{logoimage|}}}
{{#if:{{{logoimage|}}}
|<tr><td colspan="2" style="text-align:center;{{#if:{{#expr:{{{colour1}}} and {{{colour2}}}}}|background-image:linear-gradient({{GC|{{{colour1}}}}},{{GC|{{{colour2}}}}});}}{{#if:{{#expr:({{{colour1}}} or {{{colour2}}}) and not({{{colour1}}} and {{{colour2}}})}}|background-colour: {{GC|{{{colour1}}}}}}}">[[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>
}}
}}
|-
|-

Revision as of 01:01, 22 July 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 = 
| 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 = 
| footnotes = 
|}}