Difference between revisions of "Template:MemberInfo"

From RA2Wiki
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


Example User
ACAMS.png
Rank Example Rank
Political Stance Example Stance
Grudge / Ally Status
Allies With Example Allies
Rivals With Example Rivals
Grudges With Example Grudges
Fear Rating Rating 1.gif 13/100
Success Rating Rating 5.gif 100/100
Controversy Rating Rating 3.gif 50/100
Respect Rating Rating 2.gif 37/100
Trivia
Example Trivia
Memorable Quote
Example Quotes


[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