Difference between revisions of "Category:Template"
m |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages}} | ||
+ | ==How to make a new Template== | ||
+ | |||
+ | For certain purposes like if you want to maintain some works on redundant pages without efforts, you may need to write a Template of your page. | ||
+ | |||
+ | A template is just like a page, so a "make-it-easy" template would reside at the URL: | ||
+ | http://wiki.contribs.org/Template:Make-it-easy | ||
+ | |||
+ | Create it and copy and paste the wiki markup for what you have already done relating to "Make-it-easy" into it and save it. Then where you want to include the template on any other page just use <nowiki>{{Make-it-easy}}</nowiki>. | ||
+ | |||
==Templates== | ==Templates== | ||
Line 90: | Line 100: | ||
<div style="float:right; background: #EFE9E9; border: 1px solid #AAA; padding: 5px; margin-left: 5px"> | <div style="float:right; background: #EFE9E9; border: 1px solid #AAA; padding: 5px; margin-left: 5px"> | ||
<div style="font-size: 80%"><b>Devel:</b></div> | <div style="font-size: 80%"><b>Devel:</b></div> | ||
− | <div style="font-size: 120%; font-weight: bold">[http://mirror.contribs.org/smeserver/releases/ | + | <div style="font-size: 120%; font-weight: bold">[http://mirror.contribs.org/smeserver/releases/8/smetest/i386/repoview/index.html dev ver]</div> |
</div> | </div> | ||
<div style="float:right; background: #EFE9E9; border: 1px solid #AAA; padding: 5px; margin-left: 5px"> | <div style="float:right; background: #EFE9E9; border: 1px solid #AAA; padding: 5px; margin-left: 5px"> | ||
<div style="font-size: 80%"><b>Contrib:</b></div> | <div style="font-size: 80%"><b>Contrib:</b></div> | ||
− | <div style="font-size: 120%; font-weight: bold">[http://mirror.contribs.org/smeserver/releases/ | + | <div style="font-size: 120%; font-weight: bold">[http://mirror.contribs.org/smeserver/releases/8/smecontribs/i386/repoview/index.html rel ver]</div> |
</div> | </div> | ||
<div style="font-size: 120%; font-weight: bold;">package-name</div> | <div style="font-size: 120%; font-weight: bold;">package-name</div> | ||
Line 103: | Line 113: | ||
|{{Tip box|to call the Donate template then use it in the top of a page}} | |{{Tip box|to call the Donate template then use it in the top of a page}} | ||
| Top of Article | | Top of Article | ||
+ | |- | ||
+ | | <nowiki>{{</nowiki>[[Template:BugzillaFileBug]]<nowiki>}}</nowiki> | ||
+ | |{{Tip box|When you want to call the BugzillaFileBug template then use it in the bottom of a page to raise a bug under bugzilla in the wiki documentation. By example <nowiki>{{BugzillaFileBug|product=SME%20Contribs|component=smeserver-openvpn-bridge|title=this link}}</nowiki>. You have to choose a valid contrib name }} | ||
+ | | Bottom of Article | ||
|} | |} | ||
+ | |||
'''Credits:''' Some of these templates have been integrally taken from the [http://www.mythtv.org/wiki/index.php?title=Templates MythTV wiki] others are heavily based on them. | '''Credits:''' Some of these templates have been integrally taken from the [http://www.mythtv.org/wiki/index.php?title=Templates MythTV wiki] others are heavily based on them. |
Latest revision as of 20:24, 3 January 2017
Languages: |
• |
How to make a new Template
For certain purposes like if you want to maintain some works on redundant pages without efforts, you may need to write a Template of your page.
A template is just like a page, so a "make-it-easy" template would reside at the URL: http://wiki.contribs.org/Template:Make-it-easy
Create it and copy and paste the wiki markup for what you have already done relating to "Make-it-easy" into it and save it. Then where you want to include the template on any other page just use {{Make-it-easy}}.
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.
Click on the template name for usage options that may not be apparent, translators should see Languages
What to insert | What it looks like | Where to insert |
---|---|---|
{{Note box|string}} |
|
Anywhere |
{{Tip box|string}} |
|
Anywhere |
{{Warning box|string}} |
|
Anywhere |
{{Level|level|comment}} |
[[Category: {{{1}}}]] |
Under title |
{{Incomplete}} |
|
Anywhere |
{{Cleanup}} |
|
Anywhere |
{{Request_for_deletion}} |
|
Top of Article |
{{Ready_for_deletion}} |
|
Top of Article |
{{Outdated}} |
|
Top of Article |
{{Needs review}} |
|
Top of Article |
{{WIP box}} or
{{WIP box|Username}} |
or |
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 |
{{#smeversion:package|description}} | ||
{{Donate}} |
|
Top of Article |
{{Template:BugzillaFileBug}} |
|
Bottom of Article |
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.