Difference between revisions of "Template:MemberInfo"

From RA2Wiki
Jump to navigation Jump to search
m (Testing a new avatar script)
 
(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.)
 
(3 intermediate revisions by 3 users not shown)
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


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