Difference between revisions of "Templates"
(23 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | 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. | |
− | + | ||
− | + | {| | |
− | + | |- style="background:#DDDDDD;" | |
− | + | | '''Template''' | |
− | + | | '''Purpose''' | |
− | + | | '''Position''' | |
− | + | | '''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> | ||
+ | | article is under construction | ||
+ | | top of article | ||
+ | | none | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Current|current]]<nowiki>}}</nowiki> | ||
+ | | 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 | ||
+ | | none | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Wp-also|wp-also]]<nowiki>}}</nowiki> | ||
+ | | article has a Wikipedia counterpart | ||
+ | | top of article | ||
+ | | none | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Wp-also2|wp-also2]]|1<nowiki>}}</nowiki> | ||
+ | | article has a Wikipedia counterpart with a different name | ||
+ | | top of article | ||
+ | | 1 = name of Wikipedia article | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:POV|pov]]<nowiki>}}</nowiki> | ||
+ | | article's neutrality is disputed | ||
+ | | top of article | ||
+ | | none | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Prefrosh|prefrosh]]<nowiki>}}</nowiki> | ||
+ | | article is largely for prefrosh | ||
+ | | top of article | ||
+ | | none | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Clickpic|clickpic]]|1|2<nowiki>}}</nowiki> | ||
+ | | inserts an image which links to an external URL | ||
+ | | anywhere in article | ||
+ | | 1 = full URL of link; 2 = full URL of image | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Quotation|quotation]]|1|2<nowiki>}}</nowiki> | ||
+ | | inserts quotation in a special box | ||
+ | | anywhere in article | ||
+ | | 1 = quote; 2 = author/source | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Dir-also|dir-also]]|1<nowiki>}}</nowiki> | ||
+ | | inserts link to person's directory listing | ||
+ | | top of article | ||
+ | | 1 = person's [[UNI]] | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Disambig|disambig]]<nowiki>}}</nowiki> | ||
+ | | indicates and explains disambiguation | ||
+ | | bottom of article | ||
+ | | none | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Stub|stub]]<nowiki>}}</nowiki> | ||
+ | | indicates and explains stub | ||
+ | | bottom of article | ||
+ | | none | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Schools|schools]]<nowiki>}}</nowiki> | ||
+ | | indicates article is part of the schools series | ||
+ | | bottom of article | ||
+ | | none | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Welcome|welcome]]<nowiki>}}</nowiki> | ||
+ | | welcomes new user | ||
+ | | anywhere on user page | ||
+ | | none | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Sign|sign]]<nowiki>}}</nowiki> | ||
+ | | reminds user to sign messages | ||
+ | | anywhere on user page | ||
+ | | none | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:Prezbo|prezbo]]|1<nowiki>}}</nowiki> | ||
+ | | awards user with a PrezBo Award | ||
+ | | anywhere on user page | ||
+ | | 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 | ||
+ | |} | ||
+ | |||
+ | == Infobox usage == | ||
+ | |||
+ | <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> | ||
+ | |||
+ | |||
+ | |||
+ | [[Category:WikiCU]] |
Latest revision as of 21: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/ |}}