Difference between revisions of "Templates"

From MythTV Official Wiki
Jump to: navigation, search
(Add Changeset and Ticket templates)
(Use CurrentRelease template)
Line 108: Line 108:
 
| <nowiki>{{</nowiki>[[Template:VersionNote|VersionNote]]<nowiki>|version|text}}</nowiki>
 
| <nowiki>{{</nowiki>[[Template:VersionNote|VersionNote]]<nowiki>|version|text}}</nowiki>
 
|
 
|
{{VersionNote |0.23.1|This version of mythTV works ok}}
+
{{VersionNote |{{CurrentRelease}}|This version of mythTV works ok}}
 
| Anywhere
 
| Anywhere
 
|-
 
|-
 
| <nowiki>{{</nowiki>[[Template:Mythtv_version|Mythtv_version]]<nowiki>|version}}</nowiki>
 
| <nowiki>{{</nowiki>[[Template:Mythtv_version|Mythtv_version]]<nowiki>|version}}</nowiki>
 
|
 
|
{{Mythtv_version |0.23.1}}
+
{{Mythtv_version |{{CurrentRelease}}}}
 
| Anywhere
 
| Anywhere
 
|-
 
|-

Revision as of 22:04, 10 May 2010

TANGO STYLE 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
{{Code box|filename|<pre>sourcecode</pre>}}
Script.png hello.sh
#!/bin/bash
echo "Hello world!"
Anywhere
{{Python|filename|<pre>sourcecode</pre>}}
PythonIcon.png hello.py
#!/bin/python
print "Hello world!"
Anywhere
{{PHP|filename|<pre>sourcecode</pre>}}
Php.png hello.php
<?php
echo 'Hello, World!';
?>
Anywhere
{{Incomplete}}

Incomplete.png Incomplete, 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
{{Ready_for_deletion}}

Trash.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 may no longer be relevant to the current release of MythTV, 34.0. Please consider helping to update it. This page was last modified on 2010-05-10.

Top of Article
{{Outdated2|string}}

Time.png Outdated: This is a sample explanation

Top of Article
{{EOL}}

Time.png End Of Life: This product is no longer being manufactured and may only be available in limited quantities, if it is available at all.

Top of Article
{{HelpUs}}

MythTV logo square.png Join us making your favorite media center even better than it already is today.

Top of Article
{{Download|url|text}} Anywhere
{{Webpage|url|text}} Anywhere
{{Wikipage|page|text}} mythTV wiki page Anywhere
{{Pdf|url|text}} Anywhere
{{VersionNote|version|text}}
Version:
This version of mythTV works ok
Anywhere
{{Mythtv_version|version}}
The following instruction might be specific for . Please update if it is outdated.
Anywhere
{{SupportedHardware|Hardware type|MythTV version}}

Hardware.png Supported Hardware: This 'Digital tuner card' is supported in MythTV from at least version 0.22.

Top of hardware page
{{PartSupportedHardware|Hardware type|MythTV version}}

Hardware.png Partially Supported Hardware: This 'Digital tuner card' is partially supported from MythTV version 0.22, for information on what works, read below.

Top of hardware page
{{UnsupportedHardware|Hardware type}}

Hardware.png Unsupported Hardware: This 'Digital tuner card' is not supported by MythTV.

Top of hardware page
{{Changeset|Release Number}} [23794] Anywhere
{{Ticket|Trac Ticket Number}} #12 Anywhere


For a list of all available Templates see All Templates.

These act like macros, they insert their contents at the point they are entered.

Images

The following Tango icons are available on this wiki.