Template:Tutorial/doc

From PS:1 Wiki Dev
Jump to navigationJump to search

{{#if: |

File:Edit-paste.svg This is the template documentation page for Template:Tutorial.
This page may not be intended to be viewed directly.
Links using variables may appear broken; do not replace these with hardcoded page names or URLs.

{{#if:x||

}} |{{#ifeq: doc | doc

 | 

{{

   #ifeq: show | show
   | {{
 {{#switch:
 {{#if: 
   | 
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | = ambox | talk = tmbox | user = ombox | project = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | book = ombox | extension = ombox | other | #default = ombox

}} | type = notice | image = Error creating thumbnail: Unable to save thumbnail to destination | imageright = | class = | style = | textstyle = | text = This is a documentation subpage for Template:Tutorial (see that page for the {{#if:

 |{{{text1}}}
 |{{#ifeq:Template | User
   |template template
   |{{#if:Template
     |template
     |article}}
   }}
 }} itself).
It contains usage information, categories, interlanguage links and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template | User |template template page |{{#if:Template |template page |article}} }} }}

}}. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

   }}{{
   #if: 
   | 
   | {{#ifeq:Template|Template|}}
 }}

| }} }}

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)