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.) |
|||
Line 41: | Line 41: | ||
{{#if: {{{success|<noinclude>-</noinclude>}}} | | {{#if: {{{success|<noinclude>-</noinclude>}}} | | ||
{{!}} '''Success Rating''' | {{!}} '''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 | + | {{!}} 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 |
{{!}}- | {{!}}- | ||
}} | }} |
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. |