Template:Infobox Discord server: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{#cargo_declare:
{{#cargo_declare:
_table = discord_servers
_table = discord_servers
|name = String
|id = String
|id = String
|image = File
|color = String
|color = String
|text_color = String
|text_color = String
Line 46: Line 48:
{{#if: {{yesno| {{{nocargo|}}} }}|| {{#cargo_store:
{{#if: {{yesno| {{{nocargo|}}} }}|| {{#cargo_store:
_table = discord_servers
_table = discord_servers
|name = {{{name|{{PAGENAME}}}}}
|id = {{#invoke:Extract|main|number|{{{id|}}}}}
|id = {{#invoke:Extract|main|number|{{{id|}}}}}
|image = {{{image|}}}
|color = {{{color|#0a5ba6}}}
|color = {{{color|#0a5ba6}}}
|text_color = {{{text_color|#ffffff}}}
|text_color = {{{text_color|#ffffff}}}