Difference between revisions of "Templates"

From WikiCU
Jump to: navigation, search
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Summary of WikiCU templates.
+
List of templates, and important notes on how to use them.
 +
 
 +
== List of templates ==
 +
 
 +
See '''[http://www.wikicu.com/index.php5?title=Special%3AAllPages&from=&to=&namespace=10 this link]''' for the most up-to-date list of templates. The following table lists most of these, with some practical usage notes. Please add new templates to this table.
  
 
{|
 
{|
Line 7: Line 11:
 
| '''Position'''
 
| '''Position'''
 
| '''Parameters'''
 
| '''Parameters'''
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Infobox administration|infobox administration]]<nowiki>}}</nowiki>
 +
| infobox for administrative offices
 +
| top of article
 +
| Name, Location, Phone, Hours, Website
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Infobox reshall|infobox reshall]]<nowiki>}}</nowiki>
 +
| infobox for residence halls
 +
| top of article
 +
| Name, Image, Built, Renovated, Population
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Infobox restaurant|infobox restaurant]]<nowiki>}}</nowiki>
 +
| infobox for restaurants
 +
| top of article
 +
| Name, Image, Cuisine, Address, Phone, Hours, Menu, Violations, Website
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Infobox school|infobox school]]<nowiki>}}</nowiki>
 +
| infobox for schools
 +
| top of article
 +
| Name, Image, Established, Dean, Degrees, Enrollment, Website
 
|-
 
|-
 
| <nowiki>{{</nowiki>[[Template:Construction|construction]]<nowiki>}}</nowiki>
 
| <nowiki>{{</nowiki>[[Template:Construction|construction]]<nowiki>}}</nowiki>
Line 15: Line 39:
 
| <nowiki>{{</nowiki>[[Template:Current|current]]<nowiki>}}</nowiki>
 
| <nowiki>{{</nowiki>[[Template:Current|current]]<nowiki>}}</nowiki>
 
| article is a current event
 
| article is a current event
 +
| top of article
 +
| none
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Delete|delete]]<nowiki>}}</nowiki>
 +
| article is a candidate for deletion
 
| top of article
 
| top of article
 
| none
 
| none
Line 23: Line 52:
 
| none
 
| none
 
|-
 
|-
| <nowiki>{{</nowiki>[[Template:Wp-only|wp-only]]<nowiki>}}</nowiki>
+
| <nowiki>{{</nowiki>[[Template:Wp-also2|wp-also2]]|1<nowiki>}}</nowiki>
| article is only covered on Wikipedia
+
| article has a Wikipedia counterpart with a different name
 
| top of article
 
| top of article
| none
+
| 1 = name of Wikipedia article
 
|-
 
|-
 
| <nowiki>{{</nowiki>[[Template:POV|pov]]<nowiki>}}</nowiki>
 
| <nowiki>{{</nowiki>[[Template:POV|pov]]<nowiki>}}</nowiki>
Line 48: Line 77:
 
| 1 = quote; 2 = author/source
 
| 1 = quote; 2 = author/source
 
|-
 
|-
| <nowiki>{{</nowiki>[[Template:Quote|quote]]<nowiki>}}</nowiki>
+
| <nowiki>{{</nowiki>[[Template:Dir-also|dir-also]]|1<nowiki>}}</nowiki>
| see <nowiki>{{quotation}}</nowiki>
+
| inserts link to person's directory listing
| -
+
| top of article
| -
+
| 1 = person's [[UNI]]
 
|-
 
|-
 
| <nowiki>{{</nowiki>[[Template:Disambig|disambig]]<nowiki>}}</nowiki>
 
| <nowiki>{{</nowiki>[[Template:Disambig|disambig]]<nowiki>}}</nowiki>
Line 82: Line 111:
 
| anywhere on user page
 
| anywhere on user page
 
| 1 = message to award recipient
 
| 1 = message to award recipient
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:sig|sig]]|1|<nowiki>~~~~~}}</nowiki>
 +
| identifies an unsigned comment on a talk page
 +
| after an unsigned comment
 +
| 1 = user name
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Wikithon2013|Wikithon2013]]<nowiki>}}</nowiki>
 +
| Awarded exclusively to participants in [[2013 Columbia Wikithon|#WikiCU2013]]
 +
| anywhere on user page
 +
| none
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Wikithon2014|Wikithon2014]]<nowiki>}}</nowiki>
 +
| Awarded exclusively to participants in [[2014 Columbia Wikithon]]
 +
| anywhere on user page
 +
| none
 
|}
 
|}
  
== Infoboxes ==
+
== Infobox usage ==
* <nowiki>{{</nowiki>[[Template:Infobox administration|infobox administration]]<nowiki>}}</nowiki>
 
* <nowiki>{{</nowiki>[[Template:Infobox building|infobox building]]<nowiki>}}</nowiki>
 
* <nowiki>{{</nowiki>[[Template:Infobox reshall|infobox reshall]]<nowiki>}}</nowiki>
 
* <nowiki>{{</nowiki>[[Template:Infobox restaurant|infobox restaurant]]<nowiki>}}</nowiki>
 
* <nowiki>{{</nowiki>[[Template:Infobox school|infobox school]]<nowiki>}}</nowiki>
 
  
== Candidates for deletion ==
+
<pre>
 +
<nowiki>{{</nowiki>Infobox name
 +
|Parameter=Blah blah blah
 +
|Parameter=1 2 3 4 5 6 7
 +
|Parameter=http://www.columbia.edu/blah/
 +
|<nowiki>}}</nowiki>
 +
</pre>
  
These templates seem to have been created for succession boxes. They don't seem to work though. Maybe we should delete them.
 
  
* <nowiki>{{</nowiki>[[Template:Succession|succession]]<nowiki>}}</nowiki>
 
* <nowiki>{{</nowiki>[[Template:Start|start]]<nowiki>}}</nowiki>
 
* <nowiki>{{</nowiki>[[Template:End|end]]<nowiki>}}</nowiki>
 
* <nowiki>{{</nowiki>[[Template:S-bef|s-bef]]<nowiki>}}</nowiki>
 
* <nowiki>{{</nowiki>[[Template:S-aft|s-aft]]<nowiki>}}</nowiki>
 
* <nowiki>{{</nowiki>[[Template:S-ttl|s-ttl]]<nowiki>}}</nowiki>
 
  
 
[[Category:WikiCU]]
 
[[Category:WikiCU]]

Latest revision as of 22:42, 29 January 2014

List of templates, and important notes on how to use them.

List of templates

See this link for the most up-to-date list of templates. The following table lists most of these, with some practical usage notes. Please add new templates to this table.

Template Purpose Position Parameters
{{infobox administration}} infobox for administrative offices top of article Name, Location, Phone, Hours, Website
{{infobox reshall}} infobox for residence halls top of article Name, Image, Built, Renovated, Population
{{infobox restaurant}} infobox for restaurants top of article Name, Image, Cuisine, Address, Phone, Hours, Menu, Violations, Website
{{infobox school}} infobox for schools top of article Name, Image, Established, Dean, Degrees, Enrollment, Website
{{construction}} article is under construction top of article none
{{current}} article is a current event top of article none
{{delete}} article is a candidate for deletion top of article none
{{wp-also}} article has a Wikipedia counterpart top of article none
{{wp-also2|1}} article has a Wikipedia counterpart with a different name top of article 1 = name of Wikipedia article
{{pov}} article's neutrality is disputed top of article none
{{prefrosh}} article is largely for prefrosh top of article none
{{clickpic|1|2}} inserts an image which links to an external URL anywhere in article 1 = full URL of link; 2 = full URL of image
{{quotation|1|2}} inserts quotation in a special box anywhere in article 1 = quote; 2 = author/source
{{dir-also|1}} inserts link to person's directory listing top of article 1 = person's UNI
{{disambig}} indicates and explains disambiguation bottom of article none
{{stub}} indicates and explains stub bottom of article none
{{schools}} indicates article is part of the schools series bottom of article none
{{welcome}} welcomes new user anywhere on user page none
{{sign}} reminds user to sign messages anywhere on user page none
{{prezbo|1}} awards user with a PrezBo Award anywhere on user page 1 = message to award recipient
{{sig|1|~~~~~}} identifies an unsigned comment on a talk page after an unsigned comment 1 = user name
{{Wikithon2013}} Awarded exclusively to participants in #WikiCU2013 anywhere on user page none
{{Wikithon2014}} Awarded exclusively to participants in 2014 Columbia Wikithon anywhere on user page none

Infobox usage

{{Infobox name
|Parameter=Blah blah blah
|Parameter=1 2 3 4 5 6 7
|Parameter=http://www.columbia.edu/blah/
|}}