Difference between revisions of "Template:Tutorial"

From Pumping Station One
Jump to navigation Jump to search
(Created page with "<includeonly> {{#ifeq: {{{image|}}} | | Category:Photographs_Needed {{mbox |type=notice |text=This tutorial contains no images. Consider adding images of the final product...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#ifeq: {{{image|}}} | | [[Category:Photographs_Needed]] {{mbox |type=notice |text=This tutorial contains no images. Consider adding images of the final product to the tutorial template. }} }}
+
{{#ifeq: {{{image|}}} | | [[Category:Photographs_Needed]] }}
{{#switch: {{{indevelopment|}}} | no | "no" | No | "No" | NO | "NO" | n | "n" | N | "N" = | [[Category:In Development]] {{mbox |type=notice |text=This project is currently in development and should not be currently considered complete.  Contact the project owner for more information. }} }}
+
{{#switch: {{{is_project|}}} | no | "no" | No | "No" | NO | "NO" | n | "n" | N | "N" = | [[Category:Projects]] }}
 +
{{#switch: {{{in_development|}}} | no | "no" | No | "No" | NO | "NO" | n | "n" | N | "N" = | [[Category:In Development]] {{mbox |type=notice |text=This project is currently in development and should not be currently considered complete.  Contact the project owner for more information. }} }}
 
</includeonly>
 
</includeonly>
[[Category:Projects]]
 
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]
  
  
 
{{Infobox Tutorial
 
{{Infobox Tutorial
|image = {{{image|}}}
+
| name = {{{name|}}}
|creator = {{{creator}}}
+
| image = {{{image|}}}
|version = {{{version}}}
+
| creator = {{{creator|}}}
|date = {{{date}}}
+
| version = {{{version|}}}
|indevelopment = {{{indevelopment}}}
+
| date = {{{date|}}}
 +
| est_time = {{{est_time|}}}
 +
| est_cost = {{{est_cost|}}}
 +
| skills = {{{skills|}}}
 +
| experience = {{{experience|}}}
 +
| in_development = {{{in_development|}}}
 
}}
 
}}
  

Latest revision as of 23:32, 27 April 2017



Documentation icon Template documentation[view] [edit] [history] [purge]

Purpose

To create a consistent layout for throughout the site.

Example

To create the Infobox displayed on the right:

{{Tutorial
| name           = Hello World Tutorial
| image          = Equipment-no-photo.jpg
| caption        = My Hello World Tutorial
| creator        = Andrew Vaughan
| version        = 1.0
| date           = 4/27/2017
| experience     = Beginner
| est_time       = 15 Minutes
| est_cost       = $0.00
| skills         = Wiki Markup
| in_development = Yes
| is_project     = Yes
}}

Parameters

All parameters are the same as the Infobox Tutorial Template, with the addition of two fields:

Parameter Description
in_development Whether the tutorial is still in development. (Yes or No)
is_project Whether to categorize this tutorial as a Project as well as a Tutorial. (Yes or No)