Difference between revisions of "Template:Stub"

From The iPhone Wiki
Jump to: navigation, search
m
 
(One intermediate revision by one other user not shown)
Line 11: 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 20: 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 ==
Line 32: 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