Template:Link Template Demos: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Gorgonzola (talk | contribs)
Template that documents another template's demos. Oh dear.
 
Gorgonzola (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Template Demos==
==Template Demos==
There are demonstrations for this template, see [[{{#dplreplace:{{PAGENAME}}|/^Template:/|}} Template Demo]].<noinclude>
There are demonstrations for this template, see [[{{#dplreplace:{{PAGENAME}}|/^Template:/|}} Template Demos]].<noinclude>


==Description==
==Description==
A meta-template that I use to document template demo pages. Granted, this is mostly template practice.
A meta-template that I use to document template demo pages. Granted, this is mostly template practice.
As an example see [[Template:Quote]]'s documentation at the bottom.


==Syntax==
==Syntax==
Just paste this at the end of a '''Template''' to document, and link to, another article that demonstrate usage of the template. This will auto-create a link with consistent page names, and it's handy to click the red link to start creating the page.<pre>
Just paste this at the end of a '''Template''' to document, and link to, another article that demonstrate usage of the template. This will auto-create a link with consistent page names, and it's handy to click the red link to start creating the page. '''I much prefer using lowercase convention for template names to avoid case sensitivity headaches.. will do so for next templates.'''
{{link template demo}}
<pre>
{{Link Template Demos}}
</pre>
</pre>


</noinclude>
</noinclude>

Latest revision as of 13:39, 10 October 2014

Template Demos

There are demonstrations for this template, see [[{{#dplreplace:Link Template Demos|/^Template:/|}} Template Demos]].

Description

A meta-template that I use to document template demo pages. Granted, this is mostly template practice.

As an example see Template:Quote's documentation at the bottom.

Syntax

Just paste this at the end of a Template to document, and link to, another article that demonstrate usage of the template. This will auto-create a link with consistent page names, and it's handy to click the red link to start creating the page. I much prefer using lowercase convention for template names to avoid case sensitivity headaches.. will do so for next templates.

{{Link Template Demos}}