Difference between revisions of "Template:Init"

From LGPedia
Jump to: navigation, search
(Converted the page to templates/wikicode to make it more "accessible" to non-coders, made all names case insensitive, added additional possible triggers (like "HoO"), better documentation)
Line 1: Line 1:
{{#switch: {{{1}}}
+
<includeonly>{{#switch: {{lc:{{{1}}}}}
| Bree         = [[Bree|<span style="font-weight:bold;color:DeepPink;">LG</span>]]
+
| lg15
| Daniel       = [[Daniel|<span style="font-weight:bold;color:MidnightBlue;">DB</span>]]
+
| bree         = '''{{link|link=Bree|text=LG|color=DeepPink}}'''
| Jonas       = [[Jonas|<span style="font-weight:bold;color:DarkOrange;">J<span style="font-size:11px;">TKO</span></span>]]
+
| daniel       = '''{{link|link=Daniel|text=DB|color=MidnightBlue}}'''
| OpAphid     = [[OpAphid|<span style="font-weight:bold;color:#627d6d;"><nowiki>[</nowiki></span><span style="font-weight:bold;color:#627d6d;">Op</span><span style="font-weight:bold;color:Green;"><nowiki>]</nowiki></span>]]
+
| jonas       = '''{{link|link=Jonas|text=J<span style="font-size:11px;">TKO</span>|color=DarkOrange}}'''
| Gemma       = [[Gemma|<span style="font-weight:bold;color:CornflowerBlue;">G<span style="font-size:11px;">19</span></span>]]
+
| opaphid     = '''{{link|link=OpAphid|text=[Op]|color=#627d6d}}'''
| Tachyon     = [[Tachyon|<span style="font-weight:bold;color:#B7D5B9;">T<span style="font-size:11px;">AC</span></span>]]
+
| gemma       = '''{{link|link=Gemma|text=G<span style="font-size:11px;">19</span>|color=CornflowerBlue}}'''
| Brother     = [[Brother|<span style="font-weight:bold;color:#61B167;">B<span style="font-size:11px;">RO</span></span>]]
+
| tachyon     = '''{{link|link=Tachyon|text=T<span style="font-size:11px;">AC</span>|color=#B7D5B9}}'''
| Nikki Bower = [[Nikki Bower|<span style="font-weight:bold;color:DarkViolet;">NBR</span>]]
+
| brother     = '''{{link|link=Brother|text=B<span style="font-size:11px;">RO</span>|color=#61B167}}'''
| Paulmark18   = [[Paulmark18|<span style="font-weight:bold;color:SteelBlue;">P</span>&<span style="font-weight:bold;color:DeepPink;">A</span>]]
+
| nbr
| Cassieiswatching = [[Cassieiswatching|<span style="font-weight:bold;color:Indigo;">C<span style="font-size:11px;">i</span>W</span>]]
+
| nikki bower = '''{{link|link=Nikki Bower|text=NBR|color=DarkViolet}}'''
| the Order
+
| paulmark18   = '''{{link|link=Paulmark18|text={{color|SteelBlue|P}}&amp;{{color|DeepPink|A}}}}'''
| The Order   = [[the Order|<span style="font-weight:bold;color:Brown;">ORD</span>]]
+
| ciw
| Jules       = [[Jules|<span style="font-weight:bold;color:LightSalmon;">CMJ</span>]]
+
| cassieiswatching = '''{{link|link=Cassieiswatching|text=C<span style="font-size:11px;">i</span>W|color=Indigo}}'''
| Sarah       = [[Sarah|<span style="font-weight:bold;color:#976;">S<span style="font-size:11px;">IE</span></span>]]
+
| the order   = '''{{link|link=the Order|text=ORD|color=Brown}}'''
| Taylor       = [[Taylor|<span style="font-weight:bold;color:skyBlue;">Soc]][[Image:SkyblueStar.jpg]]</span>
+
| jules       = '''{{link|link=Jules|text=CMJ|color=LightSalmon}}'''
| Spencer     = [[Spencer|<span style="font-weight:bold;color:LimeGreen;">LA<span style="font-size:11px;">LR</span></span>]]
+
| sarah       = '''{{link|link=Sarah|text=S<span style="font-size:11px;">IE</span>|color=#976}}'''
| War Pylol   = [[War Pylol|<span style="font-weight:bold;color:Green;">W<span style="font-size:11px;">ar</span></span>]]
+
| taylor       = '''{{link|link=Taylor|text=Soc|color=SkyBlue}}'''[[Image:SkyblueStar.jpg]]
| Alex         = [[Alex|<span style="font-weight:bold;color:red;">T<span style="font-size:11px;">CC</span></span>]]
+
| spencer     = '''{{link|link=Spencer|text=LA<span style="font-size:11px;">LR</span>|color=LimeGreen}}'''
| Kate         = [[Kate|<span style="font-weight:bold;color:#ae2301;">A<span style="font-size:11px;"></span></span>]]
+
| warpylol
| Charlie     = [[Charlie|<span style="font-weight:bold;color:#ae2301;">C<span style="font-size:11px;">O</span>T</span>]]
+
| war pylol   = '''{{link|link=War Pylol|text=W<span style="font-size:11px;">ar</span>|color=Green}}'''
| Gavin       = [[Gavin|<span style="font-weight:bold;color:#ae2301;">DG</span>]]
+
| alex         = '''{{link|link=Alex|text=T<span style="font-size:11px;">CC</span>|color=Red}}'''
| Tariq       = [[Tariq|<span style="font-weight:bold;color:#ae2301;">T<span style="font-size:11px;">287</span></span>]]
+
| kate         = '''{{link|link=Kate|text=A<span style="font-size:11px;">?</span>|color=#ae2301}}'''
| The Creators = [[The Creators|<span style="font-weight:bold;color:Black;">C<span style="font-size:11px;">RE</span></span>]]
+
| charlie     = '''{{link|link=Charlie|text=C<span style="font-size:11px;">O</span>T|color=#ae2301}}'''
| 12in12      = [[Portal:Season One Finale|<span style="font-weight:bold;color:RoyalBlue;">12</span><span style="font-weight:bold;color:Black;font-size:11px">IN</span><span style="font-weight:bold;color:Royalblue;">12</span>]]
+
| gavin       = '''{{link|link=Gavin|text=DG|color=#ae2301}}'''
| LaRezisto   = [[LaRezisto|<span style="font-weight:bold;color:Black;">Я</span><span style="font-weight:bold;color:ForestGreen;">!</span>]]
+
| tariq       = '''{{link|link=Tariq|text=T<span style="font-size:11px;">287</span>|color=#ae2301}}'''
| Steve       = [[Steve|<span style="font-weight:bold;color:#ae2301;">SB</span>]]
+
| creators
| Hymn of One = [[Hymn of One|<span style="font-weight:bold;color:goldenrod">HoO</span>]]
+
| the creators = '''{{link|link=The Creators|text=C<span style="font-size:11px;">RE</span>|color=Black}}'''
| Sophie       = [[Sophie|<span style="font-weight:bold;color:#ae2301;">Sophie</span>]]
+
| 12in12      = '''{{link|link=Portal:Season One Finale|text={{color|RoyalBlue|12}}<span style="font-size:11px">IN</span>{{color|RoyalBlue|12}}}}'''
| #default    = <span style="font-weight:bold;color:red;">?</span><span style="font-weight:bold;color:orange;">?</span><span style="font-weight:bold;color:yellow;">?</span><span style="font-weight:bold;color:green;">?</span><span style="font-weight:bold;color:blue;">?</span><span style="font-weight:bold;color:indigo;">?</span><span style="font-weight:bold;color:violet;">?</span>}}<noinclude>
+
| larezisto   = '''{{link|link=LaRezisto|text=&#1071;{{color|ForestGreen|!}}|color=Black}}'''
 
+
| steve       = '''{{link|link=Steve|text=SB|color=#ae2301}}'''
==Example==
+
| hoo
{{init|Bree}}
+
| hymn of one = '''{{link|link=Hymn of One|text=HoO|color=GoldenRod}}'''
{{init|Daniel}}
+
| sophie       = '''{{link|link=Sophie|text=Sophie|color=#ae2301}}'''
{{init|Jonas}}
+
| #default    = '''{{color|Red|?}}{{color|Orange|?}}{{color|Yellow|?}}{{color|Green|?}}{{color|Blue|?}}{{color|Indigo|?}}{{color|Violet|?}}'''}}</includeonly><noinclude>
{{init|Gemma}}
+
{{init|OpAphid}}
+
{{init|Tachyon}}
+
{{init|Brother}}
+
{{init|Nikki Bower}}
+
{{init|Paulmark18}}
+
{{init|the Order}}
+
{{init|Taylor}}
+
{{init|Jules}}
+
{{init|Cassieiswatching}}
+
{{init|Sarah}}
+
{{init|Spencer}}
+
{{init|War Pylol}}
+
{{init|Alex}}
+
{{init|Kate}}
+
{{init|Charlie}}
+
{{init|Gavin}}
+
{{init|Tariq}}
+
{{init|The Creators}}
+
{{init|12in12}}
+
{{init|LaRezisto}}
+
{{init|Steve}}
+
{{init|Hymn of One}}
+
{{init|Sophie}}
+
 
==Usage==
 
==Usage==
The following template is used to generate standardized initials for various bloggers. Currently the template supports Bree, Daniel, Jonas, Gemma, OpAphid, Tachyon, Brother, Nikki Bower, Paulmark18, the Order, Taylor, Jules, Cassieiswatching, Sarah, Spencer, War Pylol, Alex, Kate, Charlie, Gavin, Tariq, the Creators, 12 in 12, LaRezisto, Steve, the Hymn of One, and Sophie.
+
{|align="left" style="border: 1px solid #c0c0c0; background-color: #f5f5f5; padding: 0.5em; margin 1em;"
 +
|<code><nowiki>{{init|Bree}}</nowiki></code>
 +
|{{init|Bree}}
 +
|-
 +
|<code><nowiki>{{init|Daniel}}</nowiki></code>
 +
|{{init|Daniel}}
 +
|-
 +
|<code><nowiki>{{init|Jonas}}</nowiki></code>
 +
|{{init|Jonas}}
 +
|-
 +
|<code><nowiki>{{init|Gemma}}</nowiki></code>
 +
|{{init|Gemma}}
 +
|-
 +
|<code><nowiki>{{init|OpAphid}}</nowiki></code>
 +
|{{init|OpAphid}}
 +
|-
 +
|<code><nowiki>{{init|Tachyon}}</nowiki></code>
 +
|{{init|Tachyon}}
 +
|-
 +
|<code><nowiki>{{init|Brother}}</nowiki></code>
 +
|{{init|Brother}}
 +
|-
 +
|<code><nowiki>{{init|Nikki Bower}}</nowiki></code>
 +
|{{init|Nikki Bower}}
 +
|-
 +
|<code><nowiki>{{init|Paulmark18}}</nowiki></code>
 +
|{{init|Paulmark18}}
 +
|-
 +
|<code><nowiki>{{init|the Order}}</nowiki></code>
 +
|{{init|the Order}}
 +
|-
 +
|<code><nowiki>{{init|Taylor}}</nowiki></code>
 +
|{{init|Taylor}}
 +
|-
 +
|<code><nowiki>{{init|Jules}}</nowiki></code>
 +
|{{init|Jules}}
 +
|-
 +
|<code><nowiki>{{init|Cassieiswatching}}</nowiki></code>
 +
|{{init|Cassieiswatching}}
 +
|-
 +
|<code><nowiki>{{init|Sarah}}</nowiki></code>
 +
|{{init|Sarah}}
 +
|-
 +
|<code><nowiki>{{init|Spencer}}</nowiki></code>
 +
|{{init|Spencer}}
 +
|-
 +
|<code><nowiki>{{init|War Pylol}}</nowiki></code>
 +
|{{init|War Pylol}}
 +
|-
 +
|<code><nowiki>{{init|Alex}}</nowiki></code>
 +
|{{init|Alex}}
 +
|-
 +
|<code><nowiki>{{init|Kate}}</nowiki></code>
 +
|{{init|Kate}}
 +
|-
 +
|<code><nowiki>{{init|Charlie}}</nowiki></code>
 +
|{{init|Charlie}}
 +
|-
 +
|<code><nowiki>{{init|Gavin}}</nowiki></code>
 +
|{{init|Gavin}}
 +
|-
 +
|<code><nowiki>{{init|Tariq}}</nowiki></code>
 +
|{{init|Tariq}}
 +
|-
 +
|<code><nowiki>{{init|The Creators}}</nowiki></code>
 +
|{{init|The Creators}}
 +
|-
 +
|<code><nowiki>{{init|12in12}}</nowiki></code>
 +
|{{init|12in12}}
 +
|-
 +
|<code><nowiki>{{init|LaRezisto}}</nowiki></code>
 +
|{{init|LaRezisto}}
 +
|-
 +
|<code><nowiki>{{init|Steve}}</nowiki></code>
 +
|{{init|Steve}}
 +
|-
 +
|<code><nowiki>{{init|Hymn of One}}</nowiki></code>
 +
|{{init|Hymn of One}}
 +
|-
 +
|<code><nowiki>{{init|Sophie}}</nowiki></code>
 +
|{{init|Sophie}}
 +
|-
 +
|<code><nowiki></nowiki></code>
 +
|
 +
|}
 +
This template is used to generate standardized initials for various bloggers.  A list of currently supported bloggers can be seen on the left, other bloggers and other spellings are currently unsupported.  The syntax for this template has recently been simplified, however, if you are unsure how to add a blogger, please [[Template_talk:Init|ask somebody else to do it]] before breaking this vital template.
  
Other bloggers and other spellings are not currently supportedThe syntax is somewhat complex for this template.  If you would like a blogger to be added, just ask on the [[Template_talk:Init|talk page]].
+
To use, simply enter <code><nowiki>{{init|blogger of your choice}}</nowiki></code>For example, <code><nowiki>{{init|Jonas}}</nowiki></code> will create {{init|Jonas}}.
  
To use, simply enter <nowiki> {{init|blogger of your choice}}</nowiki>.  For example, <nowiki>{{init|Jonas}}</nowiki> will create {{init|Jonas}}.
+
''This template is protected because it is used on the [[Main Page]].''
This template is protected because it is in use on the [[Main Page]].
+
  
 
[[category:Main Page templates]]</noinclude>
 
[[category:Main Page templates]]</noinclude>

Revision as of 20:45, 18 August 2007

Usage

{{init|Bree}} LG
{{init|Daniel}} DB
{{init|Jonas}} JTKO
{{init|Gemma}} G19
{{init|OpAphid}} [Op]
{{init|Tachyon}} TAC
{{init|Brother}} BRO
{{init|Nikki Bower}} NBR
{{init|Paulmark18}} ???????
{{init|the Order}} ORD
{{init|Taylor}} SocSkyblueStar.png
{{init|Jules}} CMJ
{{init|Cassieiswatching}} CiW
{{init|Sarah}} SIE
{{init|Spencer}} LALR
{{init|War Pylol}} War
{{init|Alex}} TCC
{{init|Kate}} A
{{init|Charlie}} COT
{{init|Gavin}} DG
{{init|Tariq}} T287
{{init|The Creators}} CRE
{{init|12in12}} TAAG
{{init|LaRezisto}} ???????
{{init|Steve}} SB
{{init|Hymn of One}} HoO
{{init|Sophie}} MKM

This template is used to generate standardized initials for various bloggers. A list of currently supported bloggers can be seen on the left, other bloggers and other spellings are currently unsupported. The syntax for this template has recently been simplified, however, if you are unsure how to add a blogger, please ask somebody else to do it before breaking this vital template.

To use, simply enter {{init|blogger of your choice}}. For example, {{init|Jonas}} will create JTKO.

This template is protected because it is used on the Main Page.