Template:Link/Create/Core/Doc

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: {{Template Doc|<nowiki>Page|Text|Desc=description|Preload=boilerplate|Editintro=intro</nowiki>|Internal=link}} is a helper template for Template:Link/Create. It performs the core func...)
Current revision (21:04, 6 July 2017) (edit) (undo)
 
Line 1: Line 1:
-
{{Template Doc|<nowiki>Page|Text|Desc=description|Preload=boilerplate|Editintro=intro</nowiki>|Internal=link}}
+
{{Template doc|<nowiki>Page|Text|Desc=description|Preload=boilerplate|Editintro=intro</nowiki>|Internal=link}}
is a helper template for [[Template:Link/Create]].
is a helper template for [[Template:Link/Create]].
Line 6: Line 6:
; 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.
; 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.
; Internal : How to display the link if an external link does not have to be used.
 +
; Preload : (optional)
 +
; Editintro : (optional)

Current revision

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)
Personal tools