This page documents commonly used templates on the Solar Cooking Archive Wiki.
Templates for adding new pages of different types
Edit
Template:CookerPage
Edit
Use this template when you are starting a new page about a cooker. Type {{Subst:CookerPage}} into the edit box for the new page. Then click the "Save page" button. Then click "Edit" to add specific information.
See main article: Adding a cooker article
Template:BioPage
Edit
Use this template when you are starting a new page about a person. Type {{Subst:BioPage}} into the edit box for the new page. Then click the "Save page" button. Then click "Edit" to add specific information.
See main article: Adding a biographical article
Template:CountryPage
Edit
Use this template when you are starting a new page about a country. Type {{Subst:CountryPage}} into the edit box for the new page. Then click the "Save page" button. Then click "Edit" to add specific information.
See main article: Adding a country page
Template:NGOPage
Edit
Use this template when you are starting a new page about an NGO. Type {{Subst:NGOPage}} into the edit box for the new page. Then click the "Save page" button. Then click "Edit" to add specific information.
See main article: Adding an NGO page
Templates for adding translation links to the page
Edit
Template:GoogleTranslateLinks
Edit
Adds translation links to a page. This template should be used when the native language of a page is English:
Template:GoogleTranslateLinksFromFrench
Edit
Adds translation links to a page. This template should be used when the native language of a page is French:
Template:GoogleTranslateLinksFromPortuguese
Edit
Adds translation links to a page. This template should be used when the native language of a page is Portuguese:
Template:GoogleTranslateLinksFromSpanish
Edit
Adds translation links to a page. This template should be used when the native language of a page is Spanish:
Template:GoogleLinkFromFrench
Edit
Use this template to create an external link to a French page. A link to the Google translation of that page is automatically created:
Template:GoogleLinkFromPortuguese
Edit
Use this template to create an external link to a Portuguese page. A link to the Google translation of that page is automatically created:
Template:GoogleLinkFromSpanish
Edit
Use this template to create an external link to a Spanish page. A link to the Google translation of that page is automatically created:
Template:GoogleLinkFromItalian
Edit
Use this template to create an external link to a Italian page. A link to the Google translation of that page is automatically created:
Template:LocalizationLinks
Edit
Use this template to add external links to translated versions of a page (e.g., a construction plan):
- [ Arabic]
- [ Catalan]
- [ Chinese]
- [ French]
- [ German]
- [ Hebrew]
- [ Italian]
- [ Persian]
- [ Portuguese]
- [ Russian]
- [ Spanish]
- [ Thai]
- [ Urdu]
- [ Vietnamese]
Templates for embedding YouTube videos
Edit
Template:Youtube
Edit
{{Youtube|<youtube>djo3k4jofkj</youtube>|Title for video}}
Miscellaneous templates
Edit
Template:InterwikiLinks
Edit
Use the InterwikiLinks template at the bottom of each page in the Spanish and French sites to point to the English site. And on those pages on the English site that are pointed to, use the template to point back to the other site(s).
Syntax on the Spanish site is the following:
{{InterwikiLinks|English title|French title}}
On the French site the syntax is this:
{{InterwikiLinks|English title|Spanish title}}
…and on the English site:
{{InterwikiLinks|French title|Spanish title}}
Replace the words “French title”, “English title”, and “Spanish title” with the actual titles.
You’ll see that this template adds visible links to the other site(s) and it also adds the interwiki links (e.g., [[fr:Cookit]]) to the page.
If only one language is available then you can leave out the last parameter or leave an empty bar section for the first parameter. For example, using the template on the English site:
{{InterwikiLinks|CooKit}} -- The page only exists on the French site.
{{InterwikiLinks||El Panel “Cocínalo”}} -- The page only exists on the Spanish site.
Template:NewsArchive
Edit
Use this template using "subst" in order to create a new archive page for news for a given year.
Template:ArchivedPage
Edit
Information no longer current, but included for archival purposes. Use for groups and individuals no longer promoting solar cooking.
Template:Clr
Edit
Use this template at the end of a section of text to prevent any text from below from wrapping around any images above this point.
Template:Delete
Edit
Marks an article for deletion.
Template:PlanHeader
Edit
Used on Category:Solar cooker plans pages to encourage discussion.
Template:HTMLTable
Edit
Used to place images side-by-side.
Template:Talk
Edit
Indicates that an article has a talk page associated with it with active content.
Template:State
Edit
Automatically creates a link to the state category. Works also with US state abbreviations.
Examples:
{{State|Gujarat}}
{{State|Arizona|AZ}}
Template:UsageTable
Edit
For possible use on for adding standard info for each NGO.
| Use solar cookers | |
| Number taught | |
| Number sold | |
| Countries |
Template:Main
Edit
Used to link a summary to the main article within the SCWN website.
Template:See
Edit
Create a link to an article within the SCWN website.