Difference between revisions of "Template:MemberInfo"
Jump to navigation
Jump to search
(Fucked if I know what's glitching out the success rating, if somebody more knowledgeble can take a look at it that'd be great.) |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|- | |- | ||
{{#if: {{{forumname|<noinclude>-</noinclude>}}} | | {{#if: {{{forumname|<noinclude>-</noinclude>}}} | | ||
− | {{!}} align="center" colspan="3" {{!}} | + | {{!}} align="center" colspan="3" {{!}} https://wiki.gametechmods.com/avatars/{{urlencode:{{{forumname}}}.png}} | |
− | {{!}} align="center" colspan="3" {{!}} | + | {{!}} align="center" colspan="3" {{!}} https://wiki.gametechmods.com/avatars/{{urlencode:{{{membername}}}.png}} |
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 37: | Line 37: | ||
{{!}} '''Fear Rating''' | {{!}} '''Fear Rating''' | ||
{{!}} align="left" colspan="2" {{!}} {{#ifexpr: {{{fear}}} < 21 | [[File:Rating_1.gif]] }}{{#ifexpr: {{{fear}}} > 20 and {{{fear}}} < 41 | [[File:Rating_2.gif]] }}{{#ifexpr: {{{fear}}} > 40 and {{{fear}}} < 61 | [[File:Rating_3.gif]] }}{{#ifexpr: {{{fear}}} > 60 and {{{fear}}} < 81 | [[File:Rating_4.gif]] }}{{#ifexpr: {{{fear}}} > 80 | [[File:Rating_5.gif]] }} {{{fear}}}/100 | {{!}} align="left" colspan="2" {{!}} {{#ifexpr: {{{fear}}} < 21 | [[File:Rating_1.gif]] }}{{#ifexpr: {{{fear}}} > 20 and {{{fear}}} < 41 | [[File:Rating_2.gif]] }}{{#ifexpr: {{{fear}}} > 40 and {{{fear}}} < 61 | [[File:Rating_3.gif]] }}{{#ifexpr: {{{fear}}} > 60 and {{{fear}}} < 81 | [[File:Rating_4.gif]] }}{{#ifexpr: {{{fear}}} > 80 | [[File:Rating_5.gif]] }} {{{fear}}}/100 | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if: {{{success|<noinclude>-</noinclude>}}} | | ||
+ | {{!}} '''Success Rating''' | ||
+ | {{!}} align="left" colspan="2" {{!}} {{#ifexpr: {{{success}}} < 21 | [[File:Rating_1.gif]] }}{{#ifexpr: {{{success}}} > 20 and {{{success}}} < 41 | [[File:Rating_2.gif]] }}{{#ifexpr: {{{success}}} > 40 and {{{success}}} < 61 | [[File:Rating_3.gif]] }}{{#ifexpr: {{{success}}} > 60 and {{{success}}} < 81 | [[File:Rating_4.gif]] }}{{#ifexpr: {{{success}}} > 80 | [[File:Rating_5.gif]] }} {{{success}}}/100 | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if: {{{controversy|<noinclude>-</noinclude>}}} | | ||
+ | {{!}} '''Controversy Rating''' | ||
+ | {{!}} align="left" colspan="2" {{!}} {{#ifexpr: {{{controversy}}} < 21 | [[File:Rating_1.gif]] }}{{#ifexpr: {{{controversy}}} > 20 and {{{controversy}}} < 41 | [[File:Rating_2.gif]] }}{{#ifexpr: {{{controversy}}} > 40 and {{{controversy}}} < 61 | [[File:Rating_3.gif]] }}{{#ifexpr: {{{controversy}}} > 60 and {{{controversy}}} < 81 | [[File:Rating_4.gif]] }}{{#ifexpr: {{{controversy}}} > 80 | [[File:Rating_5.gif]] }} {{{controversy}}}/100 | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 70: | Line 80: | ||
| rivals = Example Rivals | | rivals = Example Rivals | ||
| allies = Example Allies | | allies = Example Allies | ||
+ | | controversy = 50 | ||
+ | | success = 100 | ||
| fear = 13 | | fear = 13 | ||
| respect = 37 | | respect = 37 |
Latest revision as of 11:41, 21 September 2017
[edit] Template documentation
Purpose
This is a template to use on member pages on the wiki. It provides an unified way to display information about a member and display his or her avatar via the GTM Avatar Service.
Usage
{{MemberInfo | membername = That Guy | parameter1 = somedata | parameter2 = otherdata ... }}
Parameter | Usage | Notes |
---|---|---|
membername |
The member's name or nickname. Doesn't have to be the title of the page nor the name on the forums. | |
forumname |
The name used for retrieving the user's avatar. If not given, membername is used. |
Optional |
rank |
The member's rank(s). Preferably linked to another page. | Optional |
stance |
One of the Political Stances on the forum. | Optional |
grudges |
Part of the Grudge/Ally Status | Optional |
rivals |
Part of the Grudge/Ally Status | Optional |
allies |
Part of the Grudge/Ally Status | Optional |
fear |
The Fear Rating. Part of the Grudge/Ally Status | Optional. From 0 to 100. |
respect |
The Respect Rating. Part of the Grudge/Ally Status | Optional. From 0 to 100. |
trivia |
Random factoid about the member. Try to keep this in the main wiki page. | Optional |
quote |
Famous quote or saying. Preferably sourced. | Optional |
The above documentation is transcluded from Template:MemberInfo/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |