Difference between revisions of "Templates"
(Better example for VersionNote) |
(Add "Wrongtitle" template) |
||
Line 14: | Line 14: | ||
| Top of Article | | Top of Article | ||
|- | |- | ||
− | |<nowiki>{{</nowiki>[[ | + | |<nowiki>{{</nowiki>[[Template:Note box|Note box]]<nowiki>|string}}</nowiki> |
|{{Note box| This is a sample 'Important' note}} | |{{Note box| This is a sample 'Important' note}} | ||
| Anywhere | | Anywhere | ||
+ | |- | ||
+ | |<nowiki>{{</nowiki>[[Template:Wrongtitle|Wrongtitle]]<nowiki>|correct title}}</nowiki> | ||
+ | |{{Wrongtitle|ssh Forwarding}} | ||
+ | | Top of Article | ||
|- | |- | ||
| <nowiki>{{</nowiki>[[Template:Tip box|Tip box]]<nowiki>|string}}</nowiki> | | <nowiki>{{</nowiki>[[Template:Tip box|Tip box]]<nowiki>|string}}</nowiki> |
Revision as of 18:31, 20 July 2015
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 | |||||
---|---|---|---|---|---|---|---|
{{UpToDate 0.27}} | ![]()
Note that there will be a separate template for each version number, so that we can use the cross reference ability of MediaWiki to find pages that have been updated for a particular version. |
Top of Article | |||||
{{Note box|string}} | Anywhere | ||||||
{{Wrongtitle|correct title}} |
|
Top of Article | |||||
{{Tip box|string}} | Anywhere | ||||||
{{Warning box|string}} | Anywhere | ||||||
{{Code box|filename|<pre>sourcecode</pre>}} | Anywhere | ||||||
{{Python|filename|<pre>sourcecode</pre>}} | Anywhere | ||||||
{{PHP|filename|<pre>sourcecode</pre>}} | Anywhere | ||||||
{{Incomplete}} |
|
Anywhere | |||||
{{Cleanup}} |
|
Anywhere | |||||
{{Ready_for_deletion}} | Top of Article | ||||||
{{Outdated}} |
|
Top of Article | |||||
{{Outdated2|string}} | Top of Article | ||||||
{{EOL}} | Top of Article | ||||||
{{EOL2|string}} | Top of Article | ||||||
{{HelpUs}} |
|
Top of Article | |||||
{{Download|url|text}} | Anywhere | ||||||
{{Webpage|url|text}} | Anywhere | ||||||
{{Wikipage|page|text}} mythTV wiki page | Anywhere | ||||||
{{Pdf|url|text}} | Anywhere | ||||||
{{CurrentRelease}} | 30.0 | Anywhere | |||||
{{CurrentFixes}} | 30-fixes | Anywhere | |||||
{{CurrentDevelopment}} | 30 | Anywhere | |||||
{{VersionNote|version|text}} |
|
Anywhere | |||||
{{Mythtv_version|version}} |
|
Anywhere | |||||
{{Changeset|Release Number}} | [23794] | Anywhere | |||||
{{gitcommit|git SHA Number}} or
{{gitcommit|git SHA Number|Repository}} |
[1e0d74d] or [aaa6fa5] | Anywhere | |||||
{{Ticket|Trac Ticket Number}} | #12 | Anywhere | |||||
{{YES}}, {{NO}}, {{YES2|Limited}}, {{Unk}}, {{Partial}} |
|
Tables only |
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.
- Tango icons