Jump to content

Templates: Difference between revisions

1,486 bytes added ,  19 January 2013
mentioning Wikidata and DBpedia as sources to populate and update our own Wikibase installation
m (typo)
(mentioning Wikidata and DBpedia as sources to populate and update our own Wikibase installation)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
Templates basically offer the possibility to include the articles from [[Template:]]-[[namespace]] into other articles by the means of '''transclusion'''. '''[[mw:Help:Templates]]''' is an excellent tutorial into MW templates.
Templates basically offer the possibility to include the articles from [[Template:]]-[[namespace]] into other articles by the means of '''[[w:transclusion]]'''. '''[[mw:Help:Templates]]''' is an excellent tutorial into MW templates.


The template system in [[MediaWiki]] has evolved to a very powerful (and complicated in some cases) system for avoiding redundant manual work, and enabling consistent structure for articles that deal with a certain, shared area of knowledge. Other features in MediaWiki include [[MediaWiki/extensions|extensions]], [[categories]] and extra [[namespaces]] and [[MediaWiki/widgets|widgets]]
Templates will be widely employed to add [[categories]] to articles.


The template system in [[MediaWiki]] has evolved to a very powerful (and complicated in some cases) system for avoiding redundant manual work, and enabling consistent structure for articles that deal with a certain, shared area of knowledge. Other features in MediaWiki include [[MediaWiki/extensions|extensions]], [[categories]] and extra [[namespaces]] and [[MediaWiki/widgets|widgets]].
[[Wikidata]] and [[DBpedia]] will be used to populate and update Consumium's own [[Wikibase]] installation.
== Templates in development wiki ==


==Templates in development wiki==
There are a few templates in use in this wiki. A complete list is [http://develop.consumerium.org/w/index.php?title=Special%3AAllpages&from=&namespace=10 here] with the only useful (and ones used) being:
There are a few templates in use in this wiki. A complete list is [http://develop.consumerium.org/w/index.php?title=Special%3AAllpages&from=&namespace=10 here] with the only useful (and ones used) being:
*[[Template:Deprecated]] - used to mark pages that are no longer relevant or coherent with current plans due to evolution of the implementation plan
*[[Template:Deprecated]] - used to mark pages that are no longer relevant or coherent with current plans due to evolution of the implementation plan
Line 11: Line 15:
*[[Template:TFD]] - Tagged For Deletion - If someone want's to conserve contents from a page that has been tagged like this they either move all useful information to another article or improve the article so that it makes sense in the larger scheme of things.
*[[Template:TFD]] - Tagged For Deletion - If someone want's to conserve contents from a page that has been tagged like this they either move all useful information to another article or improve the article so that it makes sense in the larger scheme of things.


==Template use in Implementation wiki==
== Template use in Implementation wiki ==


Here we should compile a list of templates that will be useful in the implementation stage when we begin to assemble information about companies and products.
Here we should compile a list of templates that will be useful in the implementation stage when we begin to assemble information about companies and products.
Line 19: Line 23:




* [[Business]]
 
=== Consumption/Product related entities infoboxen ===
* [[Brand]]
* [[Brand]]
* [[Product]]
* [[Product]] ( made in country X, sold in country X, sold in retail outlet X chain X and up )
* [[Occupation]]
* [[Product group]] ( mainly from [[OHIM#EURONICE]] )
* [[Product group]]
 
=== Places and areas infoboxen ===


* [[Continent]] - ( population, per capita avg. income, median income )
* [[w:Trade area]] (  ) NAFTA , EU ...
* [[Country]] [[w:ISO 3166-1]] ( capitol, population, exports, imports, per capita avg. income, median income, neighbours ( clockwise from starting from north ) )
* [[Area]] ( intra-country ) [[w:ISO 3166-2]]
* County/Village/City ( from [[UN/LOCODE]] usually )
* Site ( type: retail, production, combined, office or HQ and full postal address, web, email, phone)


* [[Continent]]
=== Organizations infoboxen ===
* [[Country]]
* [[Area]] ( intra-country )


* [[Business]]
* [[NGO]] - [[w:Category:Non-governmental organizations by country]]
* [[IGO]] ( Inter-Governmental  Organization ) UN, EU, WTO, IMF, WB, G8, G20, Asean, AU ...
* [[Government]] ( [[w:locale]] and timeperiod )


* [[NGO]]
----
* [[IGO]] ( Inter-Governmental Organization )


* [[Nutrition facts label]]
=== Misc. ===
* [[w:Nutrition facts label]]
* [[Occupation]]


== Single item boxen ==
== Single item boxen ==


=== Single item boxen for products ===
=== Single item boxen for products ===
* All [[labels]] obviously ( [[vegetarian]], [[halal], [[kosher]], [[dolphin safe]], [[no old growth]]... )
* All [[labels]] obviously ( [[w:vegetarian]], [[w:halal]], [[w:kosher]], [[w:dolphin safe]], [[w:reinheitsgebot]], [[w:no old growth]]... )
* Sold at retail site X / retail chain X ( and up )
 
=== Single item boxen for businesses ===
* Operates in site/area/country/continent X
** Production site in X
** Retail site in X


=== Single item boxen for people/users ===
=== Single item boxen for people/users ===
* Recycles
* Recycles
* Uses mass transit
* Uses mass transit
* Shops at retail site X / retail chain X
=== Single item boxen for production [[sites]] ===
* [[SA8000]] certified
* [[ISO 14000]] certified
* [[WUR]] and [[WURC]] items


----
== Information on using templates on Meta ==
*[[m:Help:Template]]


== Templates to be copied from Wikipedia ==
== Templates to be copied from Wikipedia ==


* [[w:Template:Prepared food]] makes sense to copy 1-to-1 this
* [[w:Template:Infobox prepared food]] makes sense to copy 1-to-1 this


=== Templates to be copied from other sources ===
=== Templates to be copied from other sources ===
* Uncyc:Q ( quote )
* Uncyc:Q ( quote )


== Template use in Wikipedia, 2012 situation mapping ==
== Template use in Wikipedia, 2012 situation mapping ==
9,842

edits

We use only those cookies necessary for the functioning of the website.