Difference between revisions of "Template:Keylink"

From The iPhone Wiki
Jump to: navigation, search
(remove empty line)
(Use main template namespace in example)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[{{{1}}} {{{2}}} ({{{3}}})|{{{3}}}]]{{#if:{{{4|}}}|<br/>[[{{{1}}} {{{2}}} ({{{4}}})|{{{4}}}]]}}
+
<includeonly>[[{{{1}}} {{{2}}} ({{{3}}})|{{{3}}}]]{{#if:{{{4|}}}|<br/>[[{{{1}}} {{{2}}} ({{{4}}})|{{{4}}}]]}}{{#if:{{{5|}}}|<br/>[[{{{1}}} {{{2}}} ({{{5}}})|{{{5}}}]]}}{{#if:{{{6|}}}|<br/>[[{{{1}}} {{{2}}} ({{{6}}})|{{{6}}}]]}}</includeonly><noinclude>
  +
Generates one or more links to key pages.
  +
Used in firmware lists.
  +
  +
Usage:
  +
<code><nowiki>{{Keylink|buildtrain|build|device1|device2|device3|device4}}</nowiki></code>
  +
  +
You can pass between 1 and 4 device names.
  +
  +
For example:
  +
<code><nowiki>{{Keylink|YukonC|17C54|iPhone10,3|iPhone10,6}}</nowiki></code>
  +
  +
produces:
  +
  +
{{Keylink|YukonC|17C54|iPhone10,3|iPhone10,6}}
  +
</noinclude>

Latest revision as of 23:02, 28 October 2021

Generates one or more links to key pages. Used in firmware lists.

Usage: {{Keylink|buildtrain|build|device1|device2|device3|device4}}

You can pass between 1 and 4 device names.

For example: {{Keylink|YukonC|17C54|iPhone10,3|iPhone10,6}}

produces:

iPhone10,3
iPhone10,6