Difference between revisions of "Template:Stub"

From The iPhone Wiki
Jump to: navigation, search
(Available categories: unused stub image)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{|
 
{|
 
|-
 
|-
| [[Image:{{stub/{{ucfirst: {{lc: {{{1| {{{image| {{{icon|Apple inc.}}} }}} }}} }} }} }}|{{{size|30}}}px]]
+
| [[File:{{#switch: {{{1|Apple Inc.}}}
  +
| Apple Inc. = Apple-logo.png<!--
| ''This {{{1|}}} article is a "stub", an incomplete page. Please add more content to this article and remove this tag.''
 
  +
| baseband = ?????-->
  +
| exploit
  +
| firmware = Tango Utilities-terminal.png
  +
| hacker
  +
| hacking
  +
| hardware = Hacking.png
  +
| iPhone = iPhone.png
  +
| iPad = iPad11.png
  +
| iPod touch = iPod touch.png
  +
| jailbreaking = Gp.png
  +
| protocol = P2P.png
  +
| software = Tango Media-cdrom.png
  +
}}|{{{size|30}}}px]]
  +
| ''This {{{1|}}} article is a [[wikipedia:Wikipedia:Stub|"stub"]], an incomplete page. Please add more content to this article and remove this tag.''
 
|}<includeonly>[[Category:Article stubs]]</includeonly><noinclude>
 
|}<includeonly>[[Category:Article stubs]]</includeonly><noinclude>
   
 
== 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 ==
*{{ipfw|Apple inc.|Apple Inc.}}
+
* [[:File:Apple-logo.png|Apple Inc.]]<!--
  +
* [[:File:?????|baseband]]-->
*{{ipfw|Firmware}}
 
  +
* [[:File:Tango Utilities-terminal.png|exploit]]
*{{ipfw|Hacker}}
 
  +
* [[:File:Tango Utilities-terminal.png|firmware]]
*{{ipfw|Hacking}}
 
  +
* [[:File:Hacking.png|hacker]]
*{{ipfw|Hardware}}
 
  +
* [[:File:Hacking.png|hacking]]
*{{ipfw|Iphone|iPhone}}
 
  +
* [[:File:Hacking.png|hardware]]
*{{ipfw|Jailbreaking}}
 
  +
* [[:File:iPhone.png|iPhone]]
*{{ipfw|Protocol}}
 
  +
* [[:File:iPad11.png|iPad]]
*{{ipfw|Software}}
 
  +
* [[:File:IPod touch.png|iPod touch]]
  +
* [[:File:Gp.png|jailbreaking]]
  +
* [[:File:P2P.png|protocol]]
  +
* [[:File:Tango Media-cdrom.png|software]]

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