Template:Infobox Tutorial/doc: Difference between revisions

From PS:1 Wiki Dev
Jump to navigationJump to search
Content deleted Content added
Created page with "{{Infobox Tutorial | title = Infobox Tutorial | image = Equipment-no-photo.jpg | caption = The Infobox Tutorial Page | creator = User:Andrewvaughan|Andrew Va..."
 
mNo edit summary
Line 1: Line 1:
{{Infobox Tutorial
{{Infobox Tutorial
| title = Infobox Tutorial
| name = Infobox Tutorial
| image = Equipment-no-photo.jpg
| image = Equipment-no-photo.jpg
| caption = The Infobox Tutorial Page
| caption = The Infobox Tutorial Page
Line 23: Line 23:


<nowiki>{{</nowiki>Tutorial Infobox
<nowiki>{{</nowiki>Tutorial Infobox
| title = Infobox Tutorial
| name = Infobox Tutorial
| image = Equipment-no-photo.jpg
| image = Equipment-no-photo.jpg
| caption = The Infobox Tutorial Page
| caption = The Infobox Tutorial Page
Line 42: Line 42:
|-
|-
| <code>name</code>
| <code>name</code>
| The title to put above the Infobox. Defaults to <code><nowiki>{{</nowiki>PAGENAME}}</code>.
| The title to put above the Infobox. Defaults to the title of the page.
|-
|-
| <code>image</code>
| <code>image</code>

Revision as of 02:44, 28 April 2017

Lua error: Internal error: The interpreter exited with status 127.


{{#if: |

File:Edit-paste.svg This is the template documentation page for Template:Infobox 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:Infobox 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 provide an easy-to-use, repeatable Infobox on all pages, similar to the Infobox to the right of this page.

Example

To create the Infobox displayed on the right:

{{Tutorial Infobox
| name       = Infobox Tutorial
| image      = Equipment-no-photo.jpg
| caption    = The Infobox Tutorial Page
| creator    = Andrew Vaughan
| version    = 1.0
| date       = 4/27/2017
| experience = Beginner
| est_time   = Pretty Quick
| est_cost   = $0.00}
| skills     = Wiki Markup
}}

Parameters

Parameter Description
name The title to put above the Infobox. Defaults to the title of the page.
image The name of an image uploaded to the wiki. (Optional)
caption The caption to display under the image and title. (Optional)
creator The name of the creator of the tutorial. Does not automatically create links. (Optional)
version The current version of the tutorial. (Optional)
date A date for the tutorial. (Optional)
experience A field describing level of experience required for the tutorial. Often Beginner, Intermediate, or Advanced. (Optional)
est_time The estimated amount of time needed to complete the project. (Optional)
est_cost The estimated cost of the project. (Optional)
skills A comma-separated list of skills required for the tutorial. Will be auto-linked in the future. (Optional)