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

From FlightGear wiki
Jump to navigation Jump to search
(Switch to the {{mediawiki}} template.)
(Added an example for using the <code> tags.)
Line 13: Line 13:
   }}
   }}
}}<noinclude>
}}<noinclude>
To use the <nowiki><code></nowiki> tags:
{{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}
  {{obr}}repo link
  {{!}} full = 1
  {{cbr}}
{{cbr}}{{cbr}}
{{#tag:code|{{#tag:nowiki|
  {{repo link
  | full = 1
  }}
}}}}<noinclude>


{{Informative template|1=
{{Informative template|1=

Revision as of 21:24, 6 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.