Difference between revisions of "Template:Keylink"

From The iPhone Wiki
Jump to: navigation, search
m (Nicolas17 moved page User:Nicolas17/Keylink to Template:Keylink: move to template namespace)
(Use main template namespace in example)
 
Line 1: Line 1:
<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>
+
<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>
<noinclude>
 
 
Generates one or more links to key pages.
 
Generates one or more links to key pages.
 
Used in firmware lists.
 
Used in firmware lists.
Line 14: Line 13:
 
produces:
 
produces:
   
{{User:Nicolas17/Keylink|YukonC|17C54|iPhone10,3|iPhone10,6}}
+
{{Keylink|YukonC|17C54|iPhone10,3|iPhone10,6}}
 
</noinclude>
 
</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