Difference between revisions of "Template:TeamInfoBox"

From Science Olympiad Student Center Wiki
Jump to: navigation, search
m
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{|align="right" style="width: 20em; text-align: left; font-size: 80%; border: 1px solid #888;"
+
{|class="wikitable" align="right" style="width: {{#if: {{{Width|}}}|{{{Width}}}|20em}}; text-align: left; font-size: 80%; border: 1px solid #888; float: right;"
 
|+ style="font-size: larger;" |'''{{PAGENAME}} At a Glance'''
 
|+ style="font-size: larger;" |'''{{PAGENAME}} At a Glance'''
 
|-
 
|-
Line 14: Line 14:
 
|'''Best finish, nationals'''
 
|'''Best finish, nationals'''
 
|{{{Best nationals|}}}
 
|{{{Best nationals|}}}
 +
|-
 +
{{#if: {{{Website|}}}| {{!}}'''Website'''
 +
{{!}}{{{Website}}}}}
 
|}
 
|}
  
 
<noinclude>
 
<noinclude>
 +
 +
 +
{{TemplateDocStart}}
 +
:<code>{&#123;TeamInfoBox&#125;}</code> is a template for displaying basic team info stats.
 +
;Usage<nowiki>:</nowiki>
 +
:<code>{&#123;TeamInfoBox
 +
|Member since=''2005''
 +
|Best regional=''1st''
 +
|Best state=''1st''
 +
|Best nationals=''1st''
 +
&#125;}</code>
 +
;Appearance<nowiki>:</nowiki>
 +
:{{TeamInfoBox|Member since=''2005''
 +
|Best regional=''1st''
 +
|Best state=''1st''
 +
|Best nationals=''1st''
 +
}}<br clear="all" />
 +
;Attributes<nowiki>:</nowiki>
 +
::Website<nowiki>:</nowiki> You can add <code>|Website=''websiteURLhere''</code> before the last two curly braces to display a team website.
 +
;Notes<nowiki>:</nowiki>
 +
:You can put whatever values you would like after each "=" sign.
 +
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:Organization Templates]]
 
[[Category:Organization Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 05:18, 29 November 2017

TeamInfoBox At a Glance
Member of SO since
Best finish, regionals
Best finish, state
Best finish, nationals



Template:TeamInfoBox - Documentation

{{TeamInfoBox}} is a template for displaying basic team info stats.
Usage:
{{TeamInfoBox

|Member since=2005 |Best regional=1st |Best state=1st |Best nationals=1st }}

Appearance:
TeamInfoBox At a Glance
Member of SO since 2005
Best finish, regionals 1st
Best finish, state 1st
Best finish, nationals 1st


Attributes:
Website: You can add |Website=websiteURLhere before the last two curly braces to display a team website.
Notes:
You can put whatever values you would like after each "=" sign.