Templates
From CLUG Wiki
Contents |
Introduction to Templates
What are templates?
Templates are sections that can be inserted into a number of other pages. It is handy from a maintenance perspective, since certain parts only need to be edited once and the changes will be reflected on many pages.
How do I insert templates?
Insert a new template page name between curly braces in your page, eg. {{templatename}} . When you save your page, you can click on that template and edit the new template file.
Templates for CLUG Wiki
"future"
- Purpose: To warn users that a page is not meant for current usage.
- Template preview:
"newpage"
- Purpose: To warn users of a new page, and to invite users to expand on its contents
- Template preview:
This is a new page, and might contain technically incorrect information. Please use at your own risk. If you are able to correct any errors or expand this document, please do so.
"rewrite"
- Purpose: To warn users that a page will change drastically soon.
- Template preview:
WARNING: Page due for re-writing.
This page is either due for a re-write, or major layout change. If you have any suggestions, please put it in the "discussion" page.
Templates to warn users about distribution specific pages
"debian-centric"
Warning: This is a Debian-centric page
This page is written by a Debian user with Debian in mind. Thus, he liberally uses apt-get, and assumes that
everything will work exactly the same for you.
If you don't run Debian (or something based on it like Ubuntu), it won't, so please find the differences and add them to this page.
"suse-centric"
Warning: This is a SuSE-centric page
This page is written by a SuSE user with SuSE in mind. Thus, he liberally uses YaST, and assumes that everything will work exactly the same for you.
If you don't run SuSE, it won't, so please find the differences and add them to this page.
"gentoo-centric"
This page is written by a Gentoo user with Gentoo in mind. Thus, he liberally uses emerge, and assumes that
everything will work exactly the same for you.
If you don't run Gentoo (shame on you), it won't, so please find the differences and add them to this page.
