1,979
edits
(autocolor) |
No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | <noinclude> | ||
<!-- Cargo table declaration --> | |||
{{#cargo_declare: | |||
_table = discord_servers | |||
|name = String | |||
|id = String | |||
|image = File | |||
|color = String | |||
|text_color = String | |||
|status = String | |||
|invite = URL | |||
|owner = String | |||
}} | |||
</noinclude>{{Infobox | |||
| title = {{{name|{{PAGENAME}}}}} | | title = {{{name|{{PAGENAME}}}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | ||
| caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | | caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | ||
| headerstyle = {{#if: {{{color|}}}{{{text_color|}}} | background-color:{{{color|#0a5ba6}}}; color:{{{text_color|#ffffff}}}; | {{server color|{{{ | | headerstyle = {{#if: {{{color|}}}{{{text_color|}}} | background-color:{{{color|#0a5ba6}}}; color:{{{text_color|#ffffff}}}; | {{server color|{{{name|{{PAGENAME}}}}}}} }} | ||
| header1 = Server info | | header1 = Server info | ||
| label2 = Status | | label2 = Status | ||
Line 32: | Line 45: | ||
| label11 = Founder | | label11 = Founder | ||
| data11 = {{{founder|}}} | | data11 = {{{founder|}}} | ||
}}<noinclude> | }}<includeonly> | ||
{{#if: {{yesno| {{{nocargo|}}} }}|| {{#cargo_store: | |||
_table = discord_servers | |||
|name = {{{name|{{PAGENAME}}}}} | |||
|id = {{#invoke:Extract|main|number|{{{id|}}}}} | |||
|image = {{{image|}}} | |||
|color = {{{color|#0a5ba6}}} | |||
|text_color = {{{text_color|#ffffff}}} | |||
}}}}</includeonly><noinclude> | |||
<br/> | <br/> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |