1,979
edits
(new infobox just dropped) |
No edit summary |
||
(11 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 = background-color:{{{color|#0a5ba6}}}; color:{{{text_color|#ffffff}}}; | | 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 17: | Line 30: | ||
| label3 = Invite link | | label3 = Invite link | ||
| data3 = {{{invite|}}} | | data3 = {{{invite|}}} | ||
| label4 = Users | | label4 = ID | ||
| | | data4 = {{{id|}}} | ||
| | | label5 = Users | ||
| | | data5 = {{{users|}}} | ||
| | | label6 = Owner | ||
| | | data6 = {{{owner|}}} | ||
| | | label7 = Other links | ||
| | | data7 = {{{links|}}} | ||
| | | header8 = {{#if: {{{founded|}}}{{{defunct|}}}{{{founder|}}} |History}} | ||
| | | label9 = Founded | ||
| | | data9 = {{{founded|}}} | ||
| | | label10 = Defunct | ||
| | | data10 = {{{defunct|}}} | ||
}}<noinclude> | | label11 = Founder | ||
| data11 = {{{founder|}}} | |||
}}<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> |