Difference between revisions of "Category:Template"

From SME Server
Jump to navigationJump to search
m (Removed paraameter from Cleanup template as it is not supported)
(Remove commented text)
Line 19: Line 19:
 
{{Warning box| This is a sample warning message}}
 
{{Warning box| This is a sample warning message}}
 
| Anywhere
 
| 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>
 
| <nowiki>{{</nowiki>[[Template:Incomplete|Incomplete]]<nowiki>}}</nowiki>
Line 87: Line 71:
 
{{Repository|snetram}}
 
{{Repository|snetram}}
 
| Anywhere
 
| Anywhere
<!-- |-
 
| <nowiki>{{</nowiki>[[Template:Download|Download]]|pagename<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:Version|Version]]<nowiki>|package|description|stable-version|stable-epoch|devel-version|devel-epoch}}</nowiki>
 
| <nowiki>{{</nowiki>[[Template:Version|Version]]<nowiki>|package|description|stable-version|stable-epoch|devel-version|devel-epoch}}</nowiki>

Revision as of 09:56, 17 October 2008

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 looks like" column inserted on the page.

What to insert What it looks like Where to insert
{{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}}
Clean.png Cleanup:
This article or section may require cleanup. Discuss the issue on the talk page

Anywhere
{{Request_for_deletion}}
Delete.png Request for Deletion:
This article or section should be removed. Please help to correct all links to it or discuss the issue on the talk page

Top of Article
{{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
{{Needs review}}
Edit-find-replace.png Not reviewed:
This howto or contrib has not been reviewed and might contain code that could harm your installation. For more information on the review process have a look at the Development Review page.

Top of Article
{{Languages|pagename of English version}}
Top of Article
{{Repository|Repositoryname}}

The following command will configure the snetram repository on SME Server. Snetram After adding it to the database we have to update the changes to the configuration file:

signal-event yum-modify
Anywhere
{{Version|package|description|stable-version|stable-epoch|devel-version|devel-epoch}}

Template:Version| Anywhere


Credits: Some of these templates have been integrally taken from the MythTV wiki others are heavily based on them.

Pages in category "Template"

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