Help:Embeddable templates
From CruisersWiki
(Difference between revisions)
(Created page with "{{red|This is a draft. Don't use it in production!}} There are 2 kind of templates in this wiki and one should not be mistaken for another: * An article template (or [http://www...") |
|||
Line 3: | Line 3: | ||
There are 2 kind of templates in this wiki and one should not be mistaken for another: | There are 2 kind of templates in this wiki and one should not be mistaken for another: | ||
* An article template (or [http://www.cruiserswiki.org/wiki/Pagetemplates Page template]) is essentially an article stub or an article's boilerplate. To create a new article a user simply copies it's wiki text and pastes it into a new empty article page. | * An article template (or [http://www.cruiserswiki.org/wiki/Pagetemplates Page template]) is essentially an article stub or an article's boilerplate. To create a new article a user simply copies it's wiki text and pastes it into a new empty article page. | ||
- | * A MediaWiki template on the other hand generally used to bring a smaller sniplet of mediawiki markup into an article page. They could be seen as a sort of shortcuts introduced into a wiki to implement some common pattern to avoid excessive typing and errors and to implement some common style. | + | * A MediaWiki template on the other hand generally used to bring a smaller sniplet of mediawiki markup into an article page. They could be seen as a sort of shortcuts introduced into a wiki to implement some common pattern to avoid excessive typing and errors and to implement some common style. |
+ | |||
+ | In this sense a MediaWiki template can be seen as a stencil for some article's feature while an article template is more like a foundation for a whole article. |
Revision as of 16:25, 19 February 2015
This is a draft. Don't use it in production!
There are 2 kind of templates in this wiki and one should not be mistaken for another:
- An article template (or Page template) is essentially an article stub or an article's boilerplate. To create a new article a user simply copies it's wiki text and pastes it into a new empty article page.
- A MediaWiki template on the other hand generally used to bring a smaller sniplet of mediawiki markup into an article page. They could be seen as a sort of shortcuts introduced into a wiki to implement some common pattern to avoid excessive typing and errors and to implement some common style.
In this sense a MediaWiki template can be seen as a stencil for some article's feature while an article template is more like a foundation for a whole article.