Difference between revisions of "Template:Infobox school"

From Wiki - Scioly.org
Jump to navigation Jump to search
(remodelled after regionals infobox)
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{|class="wikitable" align="right" style="width: 20em; text-align: left; font-size: 80%; border: 1px solid #888;"
+
{|align="right" style="float: right; width: 250px; text-align: left; font-size: 80%;" class="wikitable"
|+ style="font-size: larger;" |'''{{PAGENAME}} At a Glance'''
 
 
|-
 
|-
 +
! colspan="2" style="font-size: larger;" | '''{{PAGENAME}} at a glance'''
 
|-
 
|-
|'''Member of SO since'''
+
| width="100px" | '''Member of SO since''' || {{{Member since|}}}
|{{{Member since|}}}
 
|-
 
|'''Best finish, regionals'''
 
|{{{Best regional|}}}
 
|-
 
|'''Best finish, state'''
 
|{{{Best state|}}}
 
|-
 
|'''Best finish, nationals'''
 
|{{{Best nationals|}}}
 
 
|-
 
|-
{{#if: {{{Website|}}}| '''Website'''
+
| '''Best finish, regionals''' || {{{Best regional|}}}
 +
|-
 +
| '''Best finish, state''' || {{{Best state|}}}
 +
|-
 +
| '''Best finish, nationals''' || {{{Best nationals|}}}
 +
|-
 +
{{#if: {{{Website|}}}| {{!}}'''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>

Revision as of 01:47, 10 February 2020

Infobox school at a glance
Member of SO since
Best finish, regionals
Best finish, state
Best finish, nationals



Template:Infobox school - 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:
Template:TeamInfoBox
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.