ADSIC:Templates

From AcaDec Scores and Information Center
Jump to navigationJump to search


On Using Templates[edit]

Use this for the average template.

{{TemplateName}}

For templates with parameters, use this. Be aware that even if it has a parameter, that doesn't mean you have to use it, and order of parameters doesn't matter. Capitalization does matter.

{{TemplateName|param1 = input1}}
{{TemplateName|param1 = input1|param2 = input2}}

The template at the top of this article is done with

{{Ambox|type = content|image = content|text = This is an example of a template. This page will tell you everything you would ever need to know about templates on ADSIC. For any other sources, use Wikipedia.}}

On Making Templates[edit]

Need a template from wikipedia? Just copy it from wikipedia and get rid of the documentation text, usually the stuff inside <noinclude> </noinclude>.

Making your own template? Just check your code before saving, use the preview key a lot, and try to make all templates look the same.

Categories[edit]

The category for infobox templates should be included in <includeonly> </includeonly>, so that the template is not added to the category but all the pages that use the template are. In infoboxes, don't include the categories in there, you want the Infobox Texas to be in the Texas category.

Do not use [[Category:categoryname]]. Instead, use {{{category|[[Category:categoryname]]}}}.

Documentation[edit]

Documentation is not required since templates should be straightforward and available at Wikipedia

Unless the documentation is specific to ADSIC, or the template is custom to ADSIC, anyone can head over to Wikipedia and grab the documentation. However, if the template is nonstandard and custom, you can add documentation by including it in <noinclude> </noinclude>. Also, no documentation pages please, such as Template:Ambox/doc. The documentation should be short and concise, not fully inclusive like Wikipedia or an API.

List of Templates[edit]

Do things to articles[edit]

On this table, this parameter is generally required while this parameter is not, and has a default value.
What to type What it makes and the parameters used Where it goes
{{AfD}}
  • reason, which equals the justification for adding to the list (not required).
Article or section top
{{Ambox}}
  • text
  • image, which changes the image, but is limited to the images defined in the templace
  • type, changing the left side color, and is also limited to the style defined in the .css
Article or section top, but it is generally used as a meta-template, or a template used by other templates
{{Infobox Wisconsin}}
Wisconsin
Flag of Wisconsin.png WisconsinLogo.png
Current Champion: Wilmot Union
National Titles 2002
Official Website
State Scores
198419851986198719881989
199019911992199319941995
199619971998199920002001
200220032004200520062007
200820092010201120122013
201420152016201720182019
Regionals Scores
199519992000200120022004
200520062009201120122014
20152016201720182019


Various


Infoboxes[edit]

What to type What it makes Where it goes
{{Infobox Pennsylvania}}
Pennsylvania
Flag of Pennsylvania.png
Current Victor: Souderton Area High School
State Scores
199920002001200220042005
200620072008200920102011
201220132014201520162017
20182019
Regional Scores
Western
20082009201020112012
2013201420152016201720182019
Central
2013201420152016201720182019
Eastern
200420072008200920102011

201220132014201520162017
20182019


Very beginning of article
{{Infobox Texas}}
Texas
Flag of Texas.png TexasAD.gif
Current Victor: Dulles High School
National Titles: 19841985198619881990 199119921993199619972000
Official Website
List of competing schools
State Scores
1986198719881989199019911992 1993199419951996199719981999 2000200120022003200420052006
2007200820092010201120122013
201420152016201720182019
Regional Scores
19931998199920002001200220032004
20052006200720082009201020112012
2013201420152016201720182019

Region IRegion IIRegion III
Region IVRegion VRegion VI
Region VIIRegion VIIIRegion IX
Region XRegion XIRegion XII


Very beginning of article
{{Infobox Utah}}
Utah
Flag of Utah.png UtahLogo.png
Current Victor: Da Vinci Academy
State Scores
200220032004200520072011
201420152016201720182019
Regional Scores
2014


Very beginning of article
{{Infobox Washington}}
Washington
Flag of Washington.png
Current Victor: Olympia High School
State Scores
2007


Very beginning of article
{{Infobox Wisconsin}}
Wisconsin
Flag of Wisconsin.png WisconsinLogo.png
Current Champion: Wilmot Union
National Titles 2002
Official Website
State Scores
198419851986198719881989
199019911992199319941995
199619971998199920002001
200220032004200520062007
200820092010201120122013
201420152016201720182019
Regionals Scores
199519992000200120022004
200520062009201120122014
20152016201720182019


Very beginning of article