Template:Repo link/doc plain text: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Removed an extra <noinclude> hiding the second example.)
(Switch from == to <h2> for the first heading. This is needed as the Mediawiki requirement of the heading starting on a new line may not be satisfied.)
 
Line 1: Line 1:
== Plain text ==
<h2>Plain text</h2>
To create a URL or link as plain text and avoid external links, simply use the <code><nowiki>{{#tag:tagname|content}}</nowiki></code> {{mediawiki|Help:Magic_words|magic word}} construct:
To create a URL or link as plain text and avoid external links, simply use the <code><nowiki>{{#tag:tagname|content}}</nowiki></code> {{mediawiki|Help:Magic_words|magic word}} construct:



Latest revision as of 19:01, 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.