1,979
edits
mNo edit summary |
No edit summary |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
<!-- Cargo table declaration --> | |||
{{#cargo_declare: | |||
_table = users | |||
|name = String | |||
|id = String | |||
|image = File | |||
|discordtag = String | |||
|age = String | |||
}} | |||
</noinclude>{{Infobox | |||
| 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:#0a5ba6;color:#fff; | | headerstyle = background:#0a5ba6;color:#fff; | ||
| header1 = {{#if:{{{discordtag|}}}{{{discordid|}}}{{{redditname|}}}{{{ | | header1 = {{#if:{{{discordtag|}}}{{{discordid|}}}{{{servers|}}}{{{redditname|}}}{{{othernames|}}}|User info}} | ||
| label2 = Discord tag | | label2 = Discord tag | ||
| data2 = {{{discordtag|}}} | | data2 = {{{discordtag|}}} | ||
| label3 = Discord ID | | label3 = Discord ID | ||
| data3 = {{{discordid|}}} | | data3 = {{{discordid|}}} | ||
| label4 = Reddit name | | label4 = Servers | ||
| | | data4 = {{{servers|}}} | ||
| | | label5 = Reddit name | ||
| | | data5 = {{{redditname|}}} | ||
| | | label6 = Also known as | ||
| | | data6 = {{{othernames|}}} | ||
| | | data7 = {{{subboxes|}}} | ||
| | {{#if: {{{roles|}}}<!-- Deprecated parameter; make subbox for backwards compatibility -->|{{Server subbox|server=Irony Hub|roles={{{roles}}}|nocat={{{nocat|}}}}} {{#if: {{yesno|{{{nocat|}}}}} ||[[Category:Infoboxes with deprecated parameters]]}} }} | ||
| | | header8 = {{#if:{{{irlname|}}}{{{age|}}}{{{gender|}}}{{{residence|}}}|IRL info}} | ||
| | | label9 = Name | ||
| | | data9 = {{{irlname|}}} | ||
| | | label10 = Age | ||
| | | data10 = {{{age|}}} | ||
| | | label11 = Gender | ||
| | | data11 = {{{gender|}}} | ||
| | | label12 = Residence | ||
| | | data12 = {{{residence|}}} | ||
| | | header13 = {{#if:{{{gaming|}}}{{{steam|}}}{{{links|}}}|Gaming}} | ||
| | | label14 = Gaming | ||
| | | data14 = {{{gaming|}}} | ||
}}<includeonly>{{#if:{{yesno|{{{nocat|}}}}}||[[Category:Users]]}}</includeonly><noinclude> | | label15 = Steam | ||
| data15 = {{{steam|}}} | |||
| label16 = External links | |||
| data16 = {{{links|}}} | |||
}}<includeonly>{{#if: {{yesno|{{{nocat|}}}}} ||[[Category:Users]]}}{{#if: {{yesno| {{{nocargo|}}} }}|| {{#cargo_store: | |||
_table = users | |||
|name = {{{name|{{PAGENAME}}}}} | |||
|id = {{#rmatch: {{{discordid|}}}|\b(\d{8,20})\b|${1} }} | |||
|image = {{{image|}}} | |||
|discordtag = {{#rmatch: {{{discordtag|}}}|(?<!<s>{{!}}#{{!}}\()\b([^@#<>,\s][^@#\n<>]{1,31}#\d{4}{{!}}[a-z0-9._]{2,32})\b(?!\/?>{{!}}\))|${1} }} | |||
}}}}</includeonly><noinclude> | |||
<br /> | <br /> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |