Difference between revisions of "Template:RB"

From Discovery Wiki
Jump to navigationJump to search
m (snip snip)
m
Line 26: Line 26:
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.8) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.9) | background: #00cc00; }}" | {{#ifexpr: ({{{2}}} > 0.8 and {{{2}}} < 0.9) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.8)*1000}}%; background-color: #00cc00;"></div> }}
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.8) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.9) | background: #00cc00; }}" | {{#ifexpr: ({{{2}}} > 0.8 and {{{2}}} < 0.9) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.8)*1000}}%; background-color: #00cc00;"></div> }}
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} >= 0.9) | border-color: #8ebee5; background: #00cc00; | border-color: #232746; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} >= 0.9) | border-color: #8ebee5; background: #00cc00; | border-color: #232746; }}" |
|}{{#switch: {{{3}}} | single | stop | off = {{RB/off}} | #default = }}<noinclude>-->
+
|}
== Format & Example ==
+
{{#switch: {{{3}}} | single | stop | off = {{RB/off}} | #default = }}
<pre>{{RB | who you have standing with | standing with title (-0.9 to 0.9) | "start" to start, "stop" to end}}
 
 
 
{{RB | Hi, we're allies! | 0.9 | start}}
 
{{RB | Bros Before Hoes | 0.8}}
 
{{RB | Non Aggression Pact - NAPfest | 0.7}}
 
{{RB | License and registration please | 0.0}}
 
{{RB | Oh no she didn't! | -0.4}}
 
{{RB | Oh now it's on! | -0.9 | stop}}</pre>
 
{{RB | Hi, we're allies! | 0.8 | start}}
 
{{RB | Bros Before Hoes | 0.7}}
 
{{RB | Non Aggression Pact - NAPfest | 0.6}}
 
{{RB | License and registration please | 0.0}}
 
{{RB | Oh no she didn't! | -0.4}}
 
{{RB | Oh now it's on! | -0.9 | stop}}
 
[[Category:Templates]]</noinclude>
 

Revision as of 05:35, 10 September 2011

150px-WIP2.png This page is currently being developed by one or more editors being led by Ipuvaepe. Please refer to the talk page to learn about and/or contribute to the completion of this page. You can also contact the leader on their discussion page.

Talk Page