Template:Link/Create+Desc

From PCSAR

Jump to: navigation, search

This is the documentation for the template Template:Link/Create+Desc

Template:Link/Create+Desc/Doc:
Related Templates
Link/Create Create from template
Link/Desc Use page's description
Link/Create+Desc Combine Link/Create and Link/Desc
Link Default; same as Link/Desc

The template {{Link/Create+Desc|Page|Text|Desc=description|Preload=boilerplate|Editintro=intro}} is used to create a link to a page.

Page 
the page to link to
Text 
(optional) the text to display as the link
Desc 
(optional) the text to display as the link if the page does not description and Text is not supplied. There is no point to specifying both Text and Desc.
Preload 
(optional) When Page does not exist, following the link will create it with the page boilerplate already loaded into the editor.
Editintro 
(optional) When Page does not exist, following the link will display the page intro before the edit window rather than the normal instructions

This template supports the functionality of both {{Link/Desc}} and {{Link/Create}}.

[edit] Implementation

Helper templates:


To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.

Personal tools