Template:UnGroupBox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
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:{{{logoimage|}}} | {{#if:{{{logoimage|Emblem_Saturn.png}}} | ||
|<tr><td colspan="2" style="text-align:center">[[Image:{{{logoimage}}}]]</td></tr> | |<tr><td colspan="2" style="text-align:center{{#if:{{{colour1|}}}| ;background-image:linear-gradient({{GC|{{{colour1}}}}}, {{GC|{{{colour2}}}}})}}">[[Image:{{{logoimage|Emblem_Saturn.png}}}]]</td></tr> | ||
}} | }} | ||
|- | |- | ||
Line 84: | Line 84: | ||
| 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 = |
Revision as of 23:23, 21 July 2021
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 = |}}