Template:Link/Desc
From PCSAR
 (New page: <noinclude>{{documentation}}</noinclude><includeonly><!--  -->[[<!--  if it's an Image: link, don't use the image, create a link to it.    -->:<!--  what to link to      -->{{{1}}}<!--    ...)  | 
				|||
| Line 1: | Line 1: | ||
| - | <noinclude>{{documentation}}</noinclude><includeonly><  | + | <noinclude>{{documentation}}</noinclude><includeonly><noinclude>  | 
| - | + | </noinclude>{{Link/Desc/CoreText<noinclude>  | |
| - | + |   </noinclude>|1={{{1|}}}<noinclude>  | |
| - | + |   </noinclude>|2={{Link/Desc/Text|1={{{1|}}}|2={{{2|}}}|Desc={{{Desc|}}}}}<noinclude>  | |
| - | + |   </noinclude>|RevisionID={{{RevisionID|}}}<noinclude>  | |
| - | + |   </noinclude>|PageNum={{{PageNum|}}}<noinclude>  | |
| - | + | </noinclude>}}<noinclude>  | |
| - | + | </noinclude></includeonly>  | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
Current revision
This is the documentation for the template Template:Link/Desc
 This template creates a link to another wiki page. 
 [edit] Common usageMost commonly this template is called as 
 
 
 
 
 
 
 [edit] FeaturesThis template is similar to creating a link with double square brackets:
 Double square brackets requires extra decoration with a leading colon when the page
is an  If no Text is provided, the link is shown as the Page name.
For subpages (e.g.  The page can have a description and that description will be displayed as the text of the link. The description is taken from the Property:Page description which can be set using Template:desc, etc. The link can lead to a previous version of a wiki page, using the parameter RevisionID. For multipage PDF's the link can lead to a specific page, using the parameter PageNum. As Template:Link/Create or Template:Link/Create+Desc, links to pages that don't exist yet can specify default text for their creation. [edit] ParametersThe template  
 [edit] ExamplesFor illustration purpose, the following demonstration pages have been set up: 
 
 
 
 Here's how it would work if you had used square brackets instead. (The difference between this table and the previous one is only in the first case.) 
 
 Using  
 
 
 
 
 
 [edit] ImplementationHelper templates: Icons:  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
To see how this template is implemented,
edit this page and examine the portion 
between <includeonly> and </includeonly>.

