Aurora is on version 2.5.0 C#, available at the Aurora Forums.

Contact Erik on the forum for a wiki account.

Difference between revisions of "AuroraWiki:Templates"

From AuroraWiki
Jump to navigation Jump to search
m (1 revision)
 
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This is an idea for something that doesn't exist yet. If you want to help develop this idea, please edit this page.
+
This page provides a summary of the most important or commonly used templates at this wiki. For full list see [[:Category:Templates]].
  
==Idea==
+
==Page management==
To develop a set of "starter" or "default" templates (''template templates'', you might even say) that new wiki installs can copy and use.
+
These templates inform other editors about the article's state, marking articles that need editor attention. We encourage any contributor to make use of these maintenance templates, as it makes collaborative editing much easier to coordinate.
  
==Motivation==
+
* {{tl|stub}}, {{tl|expand}}
 +
* {{tl|Love}}
 +
* {{tl|delete}}
 +
* [[:Category:Page_management_templates|all the rest..]]
  
Pretty and clever templates are very difficult to write from scratch, and copying them from Wikimedia wikis is often very difficult because of extreme template nesting and hindered by licensing concerns. Good templates can enormously improve the look and navigability of a wiki.
+
==Other==
 +
;Formating - pretty:
 +
*{{tl|done}}, {{tl|not done}} and {{tl|doing}}
 +
*{{tl|Warning}}, {{tl|caution}}
 +
*{{tl|Smaller}} -for versions?
  
Availability of public domain pedagogical templates will encourage wiki authors to build effective Open Educational Resources for a future wherein Open Distance Learning supported by OER would build the inclusive main stream education system all over the world.
+
;Formating - page:
 
+
*{{tl|clear}} - floats.
==Requirements==
+
*{{tl|nowrap}} - useful for strict formatting e.g. in infoboxes 
* Templates should be public domain.
+
*{{tl|tl}} - Used in documentation pages
* Templates should be self contained, not calling other templates (or: maybe a maximum of one meta-template?).
 
* Templates should have usage and modification instructions.
 
* Templates should not rely on [[ParserFunctions]] (or: they should indicate if they do).
 
* Templates should aim to be easy to read and understand even without usage instructions.
 
* We should also write some useful CSS that templates use, and ship it with the templates, rather than having manually coded CSS in each one.
 
* Images - use sparingly for easier re-use?
 
** use public domain images if necessary
 
** Use PNGs rather than SVGs for easier re-use (PNG uploads are configured by default, SVGs are not)
 
** Maybe offer multiple versions of templates? one with SVG, one with PNG, one with no image.
 
 
 
==Guidelines for template writers==
 
* Don't try and make the most extensible template ever: don't keep everything as variable for the user to provide. e.g. alignment of boxes: just pick an alignment and hard-code it.
 
 
 
==Distribution==
 
Ways that people can get the templates:
 
* Possibly bundled - included by default?
 
* An extension?
 
* [[Special:Export]] (this will always work, but it's not so much fun for a large number of pages. also images still have to be manually copied)
 
  
 +
;Meta
 +
*{{tl|Infobox}} - [[:category:Infobox templates]]
 +
*{{tl|Navbox}} - [[:category:Navigation templates]]
 +
*{{tl|mbox}}
  
 
==Needed templates==
 
==Needed templates==
;Infobox
 
:Multiple variables.
 
 
;Navbox
 
: No variables.
 
 
;Warning
 
:One variable.
 
 
;Ambox
 
:AKA cleanup/article message box. Could be same as warning?
 
:No variables
 
 
 
;Tip
 
;Tip
 
:One variable
 
:One variable
Line 60: Line 40:
 
:aka "citation needed"
 
:aka "citation needed"
 
:no variables.
 
:no variables.
 
;Licenses
 
: no variables.
 
 
;Ratings
 
:Like WikiProject talk page templates
 
: a small number of variables.
 
  
 
;Userboxes
 
;Userboxes
 
: No variables.
 
: No variables.
  
;Pedagogical templates
+
[[category:AuroraWiki]]
:to develop Open Educational Resources (OERs)
 
 
 
[[category:templates]]
 

Latest revision as of 07:31, 31 January 2016

This page provides a summary of the most important or commonly used templates at this wiki. For full list see Category:Templates.

Page management

These templates inform other editors about the article's state, marking articles that need editor attention. We encourage any contributor to make use of these maintenance templates, as it makes collaborative editing much easier to coordinate.

Other

Formating - pretty
Formating - page
  • {{clear}} - floats.
  • {{nowrap}} - useful for strict formatting e.g. in infoboxes
  • {{tl}} - Used in documentation pages
Meta

Needed templates

Tip
One variable
User welcome
For user talk pages
No variables (put names external to template)?
Edit request
For protected pages - put on talk page
No variables - acts as a "tag" and people put their request below.
Inline
aka "citation needed"
no variables.
Userboxes
No variables.