Templates: Difference between revisions

Out with the old, in with the new. LibreOffice became the favored Office suite a long time ago.
No edit summary
Line 13: Line 13:
==== Static Templates ====
==== Static Templates ====
Templates can also be used to include static content on a page (kind of like a keyword macro).  This is useful when you want to mark a bunch of pages with some common message content, e.g. 'obsolete', '[[:Template:stub|stub]]', 'needs attention' etc.; or perhaps you have a collection of articles that you want to apply a common resource box or navigation to.
Templates can also be used to include static content on a page (kind of like a keyword macro).  This is useful when you want to mark a bunch of pages with some common message content, e.g. 'obsolete', '[[:Template:stub|stub]]', 'needs attention' etc.; or perhaps you have a collection of articles that you want to apply a common resource box or navigation to.
=== Using Templates ===
=== Using Templates ===
# (optional) create a new page
# (optional) create a new page
Line 23: Line 25:
=== Available Templates ===
=== Available Templates ===
See all templates in the [[Special:Prefixindex|prefix index]] (choose the 'Template' namespace in the select box, then press 'Go')
See all templates in the [[Special:Prefixindex|prefix index]] (choose the 'Template' namespace in the select box, then press 'Go')
=== Debugging Templates ===
You can add <code>action=raw&templates=expand</code> to the end of a page URL to see the raw wikitext as


=== See also ===
=== See also ===