Template:Link/Create/Core

From PCSAR

(Difference between revisions)
Jump to: navigation, search

Brett Wuth (Talk | contribs)
(New page: <noinclude>{{documentation}}</noinclude><includeonly><!-- Do we have to use parameters to index.php? We want to avoid them because redlink appearance is different in internal links than ...)
Next diff →

Revision as of 13:31, 18 July 2012

This is the documentation for the template Template:Link/Create/Core

Template:Link/Create/Core/Doc:

The template {{Link/Create/Core|Page|Text|Desc=description|Preload=boilerplate|Editintro=intro}} is a helper template for Template:Link/Create.

It performs the core function of Link/Create, leaving the caller to decide what Text to display and how to create an Internal link if the external one does not have to be used.

Text 
(required) The text of the link to display. Since it is required, the default value if Page does not exist need to be computed.
Internal 
How to display the link if an external link does not have to be used.
Preload 
(optional)
Editintro 
(optional)


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

Personal tools