Difference between revisions of "Category:Template"

From SME Server
Jump to navigationJump to search
(Added short description)
 
(Inserted a section displaying some (new) templates)
Line 1: Line 1:
 
===Templates===
 
===Templates===
This page lists the articles in the catgeory Template. Templates are used to automate stuff e.g. formatting of special features like boxes, dates links or other items of this Wiki.
+
 
 +
Templates are great at keeping things looking consistent. If you are new, you may not be ready to create them, but don't worry, they are very easy to use. Just add the contents in the "what to type" column and you will get the text in the "What it Makes" column inserted on the page.
 +
 
 +
{| border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:#8eabd0; background:#e7edf5"
 +
|- style="background: lightsteelblue"
 +
! What to type !! What it makes !! Where it goes
 +
|-
 +
|<nowiki>{{</nowiki>[[template:Note box|Note box]]<nowiki>|string}}</nowiki>
 +
|{{Note box| This is a sample 'Important' note}}
 +
| Anywhere
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Tip box|Tip box]]<nowiki>|string}}</nowiki>
 +
|{{Tip box| This is a sample tip}}
 +
| Anywhere
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Warning box|Warning box]]<nowiki>|string}}</nowiki>
 +
|
 +
{{Warning box| This is a sample warning message}}
 +
| Anywhere
 +
<!-- |-
 +
|<nowiki>{{</nowiki>[[template:Code box|Code box]]<nowiki>|filename|<pre>sourcecode</pre>}}</nowiki>
 +
|{{Code box|hello.sh|<pre>#!/bin/bash
 +
echo "Hello world!"</pre>}}
 +
| Anywhere
 +
|-
 +
|<nowiki>{{</nowiki>[[template:Python|Python]]<nowiki>|filename|<pre>sourcecode</pre>}}</nowiki>
 +
|{{Python|hello.py|<pre>#!/bin/python
 +
print "Hello world!"</pre>}}
 +
| Anywhere
 +
|-
 +
|<nowiki>{{</nowiki>[[template:PHP|PHP]]<nowiki>|filename|<pre>sourcecode</pre>}}</nowiki>
 +
|{{PHP|hello.php|<pre><?php
 +
echo 'Hello, World!';
 +
?></pre>}}
 +
| Anywhere -->
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Incomplete|Incomplete]]<nowiki>}}</nowiki>
 +
|
 +
{{Incomplete
 +
|nocat=
 +
}}
 +
| Anywhere
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Cleanup|Cleanup]]<nowiki>|string}}</nowiki>
 +
|
 +
{{Cleanup
 +
|nocat=
 +
}}
 +
| Anywhere
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Ready_for_deletion|Ready_for_deletion]]<nowiki>}}</nowiki>
 +
|
 +
{{Ready_for_deletion
 +
|nocat=
 +
}}
 +
| Top of Article
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Outdated|Outdated]]<nowiki>}}</nowiki>
 +
|
 +
{{Outdated
 +
|nocat=
 +
}}
 +
| Top of Article
 +
<!-- |-
 +
| <nowiki>{{</nowiki>[[Template:Download|Download]]<nowiki>|url|text}}</nowiki>
 +
|
 +
{{Download |www.some_url.com/downloadfile|this is a link for a download}}
 +
| Anywhere
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Webpage|Webpage]]<nowiki>|url|text}}</nowiki>
 +
|
 +
{{Webpage |www.some_url.com/downloadfile|this is a link to a webpage}}
 +
| Anywhere
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:Pdf|Pdf]]<nowiki>|url|text}}</nowiki>
 +
|
 +
{{Pdf |www.some_url.com/downloadfile|this is a link to a PDF file}}
 +
| Anywhere
 +
|-
 +
| <nowiki>{{</nowiki>[[Template:VersionNote|VersionNote]]<nowiki>|version|text}}</nowiki>
 +
|
 +
{{VersionNote |0.20.1|This version of mythTV works ok}}
 +
| Anywhere-->
 +
|}
 +
 
 +
 
 +
'''Disclaimer:''' These templates have been taken from the [http://www.mythtv.org/wiki/index.php?title=Templates | MythTV wiki]

Revision as of 20:24, 23 April 2007

Templates

Templates are great at keeping things looking consistent. If you are new, you may not be ready to create them, but don't worry, they are very easy to use. Just add the contents in the "what to type" column and you will get the text in the "What it Makes" column inserted on the page.

What to type What it makes Where it goes
{{Note box|string}}
Important.png Note:
This is a sample 'Important' note

Anywhere
{{Tip box|string}}
Information.png Tip:
This is a sample tip

Anywhere
{{Warning box|string}}
Warning.png Warning:
This is a sample warning message

Anywhere
{{Incomplete}}
Incomplete.png Incomplete:
This article or section needs to be expanded. Please help to fill the gaps or discuss the issue on the talk page

Anywhere
{{Cleanup|string}}
Clean.png Cleanup:
This article or section may require cleanup. Discuss the issue on the talk page

Anywhere
{{Ready_for_deletion}}
Stop.png Ready for Deletion:
All links to it have been either transferred or moved.

Top of Article
{{Outdated}}
Time.png Outdated:
The information on this page maybe no longer relevant.

Top of Article


Disclaimer: These templates have been taken from the | MythTV wiki

Subcategories

This category has only the following subcategory.

Pages in category "Template"

The following 4 pages are in this category, out of 4 total.