Difference between revisions of "Template:Stub"

From The iPhone Wiki
Jump to: navigation, search
m
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
|-
 
|-
 
| [[File:{{#switch: {{{1|Apple Inc.}}}
 
| [[File:{{#switch: {{{1|Apple Inc.}}}
| Apple Inc. = Apple-logo.png
+
| Apple Inc. = Apple-logo.png<!--
  +
| baseband = ?????-->
 
| exploit
 
| exploit
 
| firmware = Tango Utilities-terminal.png
 
| firmware = Tango Utilities-terminal.png
Line 10: Line 11:
 
| iPhone = iPhone.png
 
| iPhone = iPhone.png
 
| iPad = iPad11.png
 
| iPad = iPad11.png
| iPod touch = iPod touch 1G.png
+
| iPod touch = iPod touch.png
 
| jailbreaking = Gp.png
 
| jailbreaking = Gp.png
 
| protocol = P2P.png
 
| protocol = P2P.png
Line 19: Line 20:
   
 
== Usage ==
 
== Usage ==
Usage is simple: <tt><code><nowiki>{{stub|(type)}}</nowiki></code></tt>, <tt><code><nowiki>{{stub|1=(type)}}</nowiki></code></tt>, <tt><code><nowiki>{{stub|image=(type)}}</nowiki></code></tt>, or <tt><code><nowiki>{{stub|icon=(type)}}</nowiki></code></tt>. The image ''size'' parameter may be added to set a specific size. If it is used, please leave out the "px" part and only specify a numeral. Articles with this template will be added to the category [[:Category:Article stubs|Article stubs]].
+
There are two parameters for this template: the required [[#Available categories|category]] and an optional <code>size</code> parameter to specify the width of the desired image. The default width is 30px. Articles using this template are added to the category [[:Category:Article stubs|Article stubs]].
  +
<nowiki>{{</nowiki>stub|&lt;category&gt;<nowiki>}}</nowiki>
  +
<nowiki>{{</nowiki>stub|&lt;category&gt;|size=&lt;width&gt;<nowiki>}}</nowiki>
   
 
== Available categories ==
 
== Available categories ==
* [[:File:Apple-logo.png|Apple Inc.]]
+
* [[:File:Apple-logo.png|Apple Inc.]]<!--
  +
* [[:File:?????|baseband]]-->
 
* [[:File:Tango Utilities-terminal.png|exploit]]
 
* [[:File:Tango Utilities-terminal.png|exploit]]
 
* [[:File:Tango Utilities-terminal.png|firmware]]
 
* [[:File:Tango Utilities-terminal.png|firmware]]
Line 30: Line 34:
 
* [[:File:iPhone.png|iPhone]]
 
* [[:File:iPhone.png|iPhone]]
 
* [[:File:iPad11.png|iPad]]
 
* [[:File:iPad11.png|iPad]]
* [[:File:IPod touch 1G.png|iPod touch]]
+
* [[:File:IPod touch.png|iPod touch]]
 
* [[:File:Gp.png|jailbreaking]]
 
* [[:File:Gp.png|jailbreaking]]
 
* [[:File:P2P.png|protocol]]
 
* [[:File:P2P.png|protocol]]

Latest revision as of 20:45, 21 March 2017

Apple-logo.png This article is a "stub", an incomplete page. Please add more content to this article and remove this tag.

Usage

There are two parameters for this template: the required category and an optional size parameter to specify the width of the desired image. The default width is 30px. Articles using this template are added to the category Article stubs.

{{stub|<category>}}
{{stub|<category>|size=<width>}}

Available categories