Template:Link Template Demos: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Gorgonzola (talk | contribs)
m Grr should have used lower case for template naming. This is why practice is good even for such frivolous templates :P.
Gorgonzola (talk | contribs)
mNo edit summary
 
Line 4: Line 4:
==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.
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.'''
<pre>
<pre>
{{link template demo}}
{{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}}