Difference between revisions of "Template:Prototype"

From The iPhone Wiki
Jump to: navigation, search
m
Line 1: Line 1:
<noinclude>{{lowercase}}__NOTOC__</noinclude>{{#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}}<noinclude>
+
{{clear}}</includeonly><noinclude><!--
  +
  +
-->{{lowercase}}__NOTOC__
 
This template is for use on the [[prototypes]] page. It has a very simple format:
 
This template is for use on the [[prototypes]] page. It has a very simple format:
 
<nowiki>{{prototype</nowiki>
 
<nowiki>{{prototype</nowiki>
Line 32: Line 34:
   
 
== Parameters ==
 
== 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>[[wikipedia:Template:start date|start 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>
 
</noinclude>

Revision as of 18:49, 18 May 2013

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

{{prototype
 | image   = 
 | caption = 
 | date    = <!-- Use "DD Mon YYYY" format, plz? -->
 | 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 {{start 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.