Difference between revisions of "Template:Prototype"

From The iPhone Wiki
Jump to: navigation, search
(maybe?)
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{image|}}} | [[File:{{{image|}}}|thumb|{{{caption|}}}]] | }}
+
<includeonly>{{#if: {{{image|}}} | [[File:{{{image|}}}|thumb|{{{caption|}}}]] | }}
 
{{#if: {{{date|}}} | ''{{{date}}}'': | }}
 
{{#if: {{{date|}}} | ''{{{date}}}'': | }}
   
Line 16: Line 16:
 
| }}
 
| }}
 
{{#if: {{{gallery|}}} | {{{gallery}}} | }}
 
{{#if: {{{gallery|}}} | {{{gallery}}} | }}
{{clear}}
+
{{clear}}</includeonly><noinclude><!--
  +
  +
-->{{lowercase}}__NOTOC__
  +
This template is for use on the [[prototypes]] page. It has a very simple format:
  +
<nowiki>{{prototype</nowiki>
  +
| image =
  +
| caption =
  +
| date =
  +
| summary =
  +
| specs =
  +
<nowiki>{{spec|SPEC NAME|SPEC VALUE|COMMENT}}</nowiki>&lt;!-- Repeat as needed --&gt;
  +
| gallery =
  +
&lt;gallery&gt;
  +
&lt;!-- ... --&gt;
  +
&lt;/gallery&gt;
  +
}}
  +
  +
== Parameters ==
  +
* '''image''': The name of the image of the prototype. Do not include the <code>[[File:</code> and friends; they are added by this template.
  +
* '''caption''': A caption for the image located at '''image'''.
  +
* '''date''': The earliest available date of discovery. Please use <nowiki>{{</nowiki>[[Template:date|date]]<nowiki>}}</nowiki>.
  +
* '''summary''': A summary of the prototype including where it was first discovered and (optionally) where more information about the prototype can be obtained. This is not to be used as a detailed description. If a detailed description is needed, please create a page for the device and set the section header to be a link to the page.
  +
* '''specs''': A list of specs for the prototype. Please use the <nowiki>{{</nowiki>[[Template:spec|spec]]<nowiki>}}</nowiki> template only ''once per line''.
  +
* '''gallery''': A gallery of photos of the prototype. Please use a ''maximum of five''. If more than five are available, consider creating a page for the prototype as described above in '''summary'''.
  +
</noinclude>

Latest revision as of 03:53, 17 April 2016

This template is for use on the prototypes page. It has a very simple format:

{{prototype
 | image   = 
 | caption = 
 | date    =
 | summary = 
 | specs   = 
   {{spec|SPEC NAME|SPEC VALUE|COMMENT}}<!-- Repeat as needed -->
 | gallery = 
   <gallery>
   <!-- ... -->
   </gallery>
}}

Parameters

  • image: The name of the image of the prototype. Do not include the [[File: and friends; they are added by this template.
  • caption: A caption for the image located at image.
  • date: The earliest available date of discovery. Please use {{date}}.
  • summary: A summary of the prototype including where it was first discovered and (optionally) where more information about the prototype can be obtained. This is not to be used as a detailed description. If a detailed description is needed, please create a page for the device and set the section header to be a link to the page.
  • specs: A list of specs for the prototype. Please use the {{spec}} template only once per line.
  • gallery: A gallery of photos of the prototype. Please use a maximum of five. If more than five are available, consider creating a page for the prototype as described above in summary.