Template:Realm Link: Difference between revisions

From RoR Wiki
Jump to: navigation, search
(Created page with "<noinclude>Template which displays short or full name of the corresponding Realm in large bold style.<!--</noinclude>{{#switch: {{{1}}} | Order = {{#switch: {{{2}}} | full =...")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Template which displays short or full name of the corresponding Realm in large bold style.<!--</noinclude>{{#switch: {{{1}}}
<noinclude>This Template displays short or full name of the corresponding Realm in large bold style.<!--</noinclude>{{#switch: {{{1}}}
| Order = {{#switch: {{{2}}}  
| Order = [[File:Order-icon.png|26x26px]] {{#switch: {{{2}}}  
| full = '''<big>The Forces of Order</big>'''
| full = '''<big>The Forces of Order</big>'''
| icon =  
| icon =  
| #default = '''<big>Order</big>'''
| #default = '''<big>Order</big>'''
}}
}}
| Destruction = {{#switch: {{{2}}}
| Destruction = [[File:Destruction-icon.png|26x26px]] {{#switch: {{{2}}}
| full = '''<big>The Forces of Destruction</big>'''
| full = '''<big>The Forces of Destruction</big>'''
| icon =  
| icon =  
Line 12: Line 12:
}}<noinclude>
}}<noinclude>
-->
-->
==Usage==
==How to use:==
<pre><nowiki>{{Realm Link|Order}}</nowiki></pre>
<pre><nowiki>{{Realm Link|Order}}</nowiki></pre>
Valid parameters:
Valid parameters:
Line 19: Line 19:
If you wish to display the full name of the realm, add the "full" parameter:
If you wish to display the full name of the realm, add the "full" parameter:
<pre><nowiki>{{Realm Link|Destruction|full}}</nowiki></pre>
<pre><nowiki>{{Realm Link|Destruction|full}}</nowiki></pre>
==Result==
==Result:==
{{Realm Link|Order}}<br /><br />
{{Realm Link|Order}}<br /><br />
{{Realm Link|Destruction}}<br /><br />
{{Realm Link|Destruction}}<br /><br />

Latest revision as of 21:39, 3 April 2021

This Template displays short or full name of the corresponding Realm in large bold style.

How to use:

{{Realm Link|Order}}

Valid parameters:

  • Order
  • Destruction

If you wish to display the full name of the realm, add the "full" parameter:

{{Realm Link|Destruction|full}}

Result:

Order-icon.png Order

Destruction-icon.png Destruction

Order-icon.png The Forces of Order

Destruction-icon.png The Forces of Destruction