Lou Montana/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Page cleanup)
Tag: Replaced
(Template idea - TODO add link)
Line 1: Line 1:
[[Category: Sandbox]]
<noinclude>[[Category: Sandbox]]</noinclude><includeonly>{{#if:{{{1|}}}{{{2|}}}
| <span style="background-color: #CCC; display: inline-block; height: 32px; position: relative; text-align: center; vertical-align: middle; width: 32px;" alt="{{{1|}}} {{{2|}}}" title="{{{1|}}} {{{2|}}}">
<span style="background-color: #FFF; display: tkable-cell; font-family: 'Times New Roman', serif; font-weight: bold; letter-spacing: -0.15em; line-height: 1.25em; position: absolute; top: 1px; left: 1px; right: 1px; bottom: 13px">
<span style="font-size: .9em; vertical-align: bottom">{{#sub:{{uc:{{{1|}}}}}|0|1}}</span>
<span style="color: {{{3|blue}}}; font-size: 1.4em; vertical-align: text-bottom">{{#sub:{{uc:{{{2|}}}}}|0|1}}</span>
</span>
<span style="font-size: 9px; font-weight: bold; text-align: center; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; line-height: 12px; overflow: hidden">{{ucFirst:{{{4|{{{2|}}}}}}}}</span>
</span>
| -no arguments provided-
}}</includeonly><noinclude>Template '''''Icon2''''' standing for '''''G'''ame '''V'''ersion '''I'''con'' - should appear inline {{{{FULLPAGENAME}}|argument|local|blue}} when in a paragraph.
 
== Usage ==
{{<nowiki/>Icon2|'''''firstWord'''''|'''''secondWord'''''|'''''secondLetterColor'''''|'''''textOverride'''''}}
* firstWord: first letter word, e.g "argument"
* secondWord: second letter word, e.g "local"
* secondLetterColor: (Optional, default <tt>blue</tt>) CSS color
* textOverride: bottom text override (default ''secondWord'')
 
{| class="wikitable"
|+ Examples
! Code
! Result
|-
| <tt><nowiki>{{Icon2}}</nowiki></tt>
| {{ {{FULLPAGENAME}} }}
|-
| <tt><nowiki>{{Icon2|argument|local|blue}}</nowiki></tt>
| {{{{FULLPAGENAME}}|argument|local|blue}}
|-
| <tt><nowiki>{{Icon2|argument|N/A|grey}}</nowiki></tt>
| {{{{FULLPAGENAME}}|argument|N/A|grey}}
|-
| <tt><nowiki>{{Icon2|effect|global|darkorange}}</nowiki></tt>
| {{{{FULLPAGENAME}}|effect|global|darkorange}}
|-
| <tt><nowiki>{{Icon2|effect|local|blue}}</nowiki></tt>
| {{{{FULLPAGENAME}}|effect|local|blue}}
|-
| <tt><nowiki>{{Icon2|effect|N/A|grey}}</nowiki></tt>
| {{{{FULLPAGENAME}}|effect|N/A|grey}}
|-
| <tt><nowiki>{{Icon2|argument|global|darkorange}}</nowiki></tt>
| {{{{FULLPAGENAME}}|argument|global|darkorange}}
|-
| <tt><nowiki>{{Icon2|server|execution|green}}</nowiki></tt>
| {{{{FULLPAGENAME}}|server|execution|green}}
|-
| <tt><nowiki>{{Icon2|server|execution|green|server}}</nowiki></tt>
| {{{{FULLPAGENAME}}|server|execution|green|server}}
|}
 
{{TemplateCase|[[Category:Templates|{{uc:{{PAGENAME}}}}]]}}</noinclude>

Revision as of 11:55, 27 February 2021

Template Icon2 standing for Game Version Icon - should appear inline A L Local when in a paragraph.

Usage

{{Icon2|firstWord|secondWord|secondLetterColor|textOverride}}

  • firstWord: first letter word, e.g "argument"
  • secondWord: second letter word, e.g "local"
  • secondLetterColor: (Optional, default blue) CSS color
  • textOverride: bottom text override (default secondWord)
Examples
Code Result
{{Icon2}} -no arguments provided-
{{Icon2|argument|local|blue}}

A L Local

{{Icon2|argument|N/A|grey}}

A N N/A

{{Icon2|effect|global|darkorange}}

E G Global

{{Icon2|effect|local|blue}}

E L Local

{{Icon2|effect|N/A|grey}}

E N N/A

{{Icon2|argument|global|darkorange}}

A G Global

{{Icon2|server|execution|green}}

S E Execution

{{Icon2|server|execution|green|server}}

S E Server