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)
(Semi-revert, due to http://lists.wikimedia.org/pipermail/wikipedia-l/2006-August/027271.html - adding back old HTML, leaving the rest)
Line 1: Line 1:
 
<includeonly>{{#switch: {{lc:{{{1}}}}}
 
<includeonly>{{#switch: {{lc:{{{1}}}}}
 
| lg15
 
| lg15
| bree        = '''{{link|link=Bree|text=LG|color=DeepPink}}'''
+
| bree        = [[Bree|<span style="font-weight:bold;color:DeepPink;">LG</span>]]
| daniel      = '''{{link|link=Daniel|text=DB|color=MidnightBlue}}'''
+
| daniel      = [[Daniel|<span style="font-weight:bold;color:MidnightBlue;">DB</span>]]
| jonas        = '''{{link|link=Jonas|text=J<span style="font-size:11px;">TKO</span>|color=DarkOrange}}'''
+
| jonas        = [[Jonas|<span style="font-weight:bold;color:DarkOrange;">J<span style="font-size:11px;">TKO</span></span>]]
| opaphid      = '''{{link|link=OpAphid|text=[Op]|color=#627d6d}}'''
+
| 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>]]
| gemma        = '''{{link|link=Gemma|text=G<span style="font-size:11px;">19</span>|color=CornflowerBlue}}'''
+
| gemma        = [[Gemma|<span style="font-weight:bold;color:CornflowerBlue;">G<span style="font-size:11px;">19</span></span>]]
| tachyon      = '''{{link|link=Tachyon|text=T<span style="font-size:11px;">AC</span>|color=#B7D5B9}}'''
+
| tachyon      = [[Tachyon|<span style="font-weight:bold;color:#B7D5B9;">T<span style="font-size:11px;">AC</span></span>]]
| brother      = '''{{link|link=Brother|text=B<span style="font-size:11px;">RO</span>|color=#61B167}}'''
+
| brother      = [[Brother|<span style="font-weight:bold;color:#61B167;">B<span style="font-size:11px;">RO</span></span>]]
 
| nbr
 
| nbr
| nikki bower  = '''{{link|link=Nikki Bower|text=NBR|color=DarkViolet}}'''
+
| nikki bower  = [[Nikki Bower|<span style="font-weight:bold;color:DarkViolet;">NBR</span>]]
| paulmark18  = '''{{link|link=Paulmark18|text={{color|SteelBlue|P}}&amp;{{color|DeepPink|A}}}}'''
+
| paulmark18  = [[Paulmark18|<span style="font-weight:bold;color:SteelBlue;">P</span>&<span style="font-weight:bold;color:DeepPink;">A</span>]]
 
| ciw
 
| ciw
| cassieiswatching = '''{{link|link=Cassieiswatching|text=C<span style="font-size:11px;">i</span>W|color=Indigo}}'''
+
| cassieiswatching = [[Cassieiswatching|<span style="font-weight:bold;color:Indigo;">C<span style="font-size:11px;">i</span>W</span>]]
| the order    = '''{{link|link=the Order|text=ORD|color=Brown}}'''
+
| the order    = [[the Order|<span style="font-weight:bold;color:Brown;">ORD</span>]]
| jules        = '''{{link|link=Jules|text=CMJ|color=LightSalmon}}'''
+
| jules        = [[Jules|<span style="font-weight:bold;color:LightSalmon;">CMJ</span>]]
| sarah        = '''{{link|link=Sarah|text=S<span style="font-size:11px;">IE</span>|color=#976}}'''
+
| sarah        = [[Sarah|<span style="font-weight:bold;color:#976;">S<span style="font-size:11px;">IE</span></span>]]
| taylor      = '''{{link|link=Taylor|text=Soc|color=SkyBlue}}'''[[Image:SkyblueStar.jpg]]
+
| taylor      = [[Taylor|<span style="font-weight:bold;color:skyBlue;">Soc]][[Image:SkyblueStar.jpg]]</span>
| spencer      = '''{{link|link=Spencer|text=LA<span style="font-size:11px;">LR</span>|color=LimeGreen}}'''
+
| spencer      = [[Spencer|<span style="font-weight:bold;color:LimeGreen;">LA<span style="font-size:11px;">LR</span></span>]]
 
| warpylol
 
| warpylol
| war pylol    = '''{{link|link=War Pylol|text=W<span style="font-size:11px;">ar</span>|color=Green}}'''
+
| war pylol    = [[War Pylol|<span style="font-weight:bold;color:Green;">W<span style="font-size:11px;">ar</span></span>]]
| alex        = '''{{link|link=Alex|text=T<span style="font-size:11px;">CC</span>|color=Red}}'''
+
| alex        = [[Alex|<span style="font-weight:bold;color:red;">T<span style="font-size:11px;">CC</span></span>]]
| kate        = '''{{link|link=Kate|text=A<span style="font-size:11px;">?</span>|color=#ae2301}}'''
+
| kate        = [[Kate|<span style="font-weight:bold;color:#ae2301;">A<span style="font-size:11px;">?</span></span>]]
| charlie      = '''{{link|link=Charlie|text=C<span style="font-size:11px;">O</span>T|color=#ae2301}}'''
+
| charlie      = [[Charlie|<span style="font-weight:bold;color:#ae2301;">C<span style="font-size:11px;">O</span>T</span>]]
| gavin        = '''{{link|link=Gavin|text=DG|color=#ae2301}}'''
+
| gavin        = [[Gavin|<span style="font-weight:bold;color:#ae2301;">DG</span>]]
| tariq        = '''{{link|link=Tariq|text=T<span style="font-size:11px;">287</span>|color=#ae2301}}'''
+
| tariq        = [[Tariq|<span style="font-weight:bold;color:#ae2301;">T<span style="font-size:11px;">287</span></span>]]
 
| creators
 
| creators
| the creators = '''{{link|link=The Creators|text=C<span style="font-size:11px;">RE</span>|color=Black}}'''
+
| the creators = [[The Creators|<span style="font-weight:bold;color:Black;">C<span style="font-size:11px;">RE</span></span>]]
| 12in12      = '''{{link|link=Portal:Season One Finale|text={{color|RoyalBlue|12}}<span style="font-size:11px">IN</span>{{color|RoyalBlue|12}}}}'''
+
| 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>]]
| larezisto    = '''{{link|link=LaRezisto|text=&#1071;{{color|ForestGreen|!}}|color=Black}}'''
+
| larezisto    = [[LaRezisto|<span style="font-weight:bold;color:Black;">?</span><span style="font-weight:bold;color:ForestGreen;">!</span>]]
| steve        = '''{{link|link=Steve|text=SB|color=#ae2301}}'''
+
| steve        = [[Steve|<span style="font-weight:bold;color:#ae2301;">SB</span>]]
 
| hoo
 
| hoo
| hymn of one  = '''{{link|link=Hymn of One|text=HoO|color=GoldenRod}}'''
+
| hymn of one  = [[Hymn of One|<span style="font-weight:bold;color:goldenrod">HoO</span>]]
| sophie      = '''{{link|link=Sophie|text=Sophie|color=#ae2301}}'''
+
| sophie      = [[Sophie|<span style="font-weight:bold;color:#ae2301;">Sophie</span>]]
| #default    = '''{{color|Red|?}}{{color|Orange|?}}{{color|Yellow|?}}{{color|Green|?}}{{color|Blue|?}}{{color|Indigo|?}}{{color|Violet|?}}'''}}</includeonly><noinclude>
+
| #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>}}</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
{|align="left" style="border: 1px solid #c0c0c0; background-color: #f5f5f5; padding: 0.5em; margin 1em;"
 
{|align="left" style="border: 1px solid #c0c0c0; background-color: #f5f5f5; padding: 0.5em; margin 1em;"
Line 116: Line 116:
 
|<code><nowiki>{{init|Sophie}}</nowiki></code>
 
|<code><nowiki>{{init|Sophie}}</nowiki></code>
 
|{{init|Sophie}}
 
|{{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.
+
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 requires a certain level of familiarity with parser functions, HTML and CSS, so if you are unsure how to add a blogger, please [[Template_talk:Init|ask somebody else to do it]] before breaking this vital template.
  
 
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 <code><nowiki>{{init|blogger of your choice}}</nowiki></code>.  For example, <code><nowiki>{{init|Jonas}}</nowiki></code> will create {{init|Jonas}}.

Revision as of 21:02, 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 requires a certain level of familiarity with parser functions, HTML and CSS, so 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.