Template:Repo link/doc plain text: Difference between revisions
Jump to navigation
Jump to search
(Added an example for using the <code> tags.) |
(Removed an extra <noinclude> hiding the second example.) |
||
Line 12: | Line 12: | ||
| full = 1 | | full = 1 | ||
}} | }} | ||
}} | }} | ||
To use the <nowiki><code></nowiki> tags: | To use the <nowiki><code></nowiki> tags: |
Revision as of 12:11, 7 March 2016
Plain text
To create a URL or link as plain text and avoid external links, simply use the {{#tag:tagname|content}}
magic word construct:
{{#tag:nowiki| {{repo link | full = 1 }} }}
https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/
To use the <code> tags:
{{#tag:code|{{#tag:nowiki| {{repo link | full = 1 }} }}}}
https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/
The following template description is not displayed when the template is inserted in an article.
Goal
To provide documentation of the design of the {{repo link}} family of templates. This is only for use within documentation of the subtemplates.