Difference between revisions of "Template:Templates"

From Wolfire Games Wiki
Jump to: navigation, search
m
m (Removed erronious <center> tag)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<!--
 
<!--
 
PRIVATE // Only displayed on this page, not transcluded on pages that use this template
 
PRIVATE // Only displayed on this page, not transcluded on pages that use this template
--><noinclude>  
+
--><noinclude> <!--
 
 
<!--
 
 
Categories --> {{CT| Templates}} {{CT| Improvement Needed}} <!--
 
Categories --> {{CT| Templates}} {{CT| Improvement Needed}} <!--
Constants -->
+
Constants --><center>{{stub}}</center><!--
<center><center>{{stub}}</center><!--
+
Content --><!--
Content --><center>* SOMEONE WHO UNDERSTANDS THIS STUFF SHOULD HELP ASAP</center> <!--
+
--></noinclude><!--
 
 
--></noinclude>
 
 
 
<!--
 
 
INCLUDED // Not displayed on this page, only transcluded on pages that use this template
 
INCLUDED // Not displayed on this page, only transcluded on pages that use this template
--><includeonly>
+
--><includeonly><!--
 
+
Categories --><!--
<!--
+
Constants --><!--
Categories --> <!--
+
Content --><!--
Constants --> <!--
 
Content --> <!--
 
 
 
 
--></includeonly>
 
--></includeonly>
 
 
==[[: Category: Templates| Templates]]==
 
==[[: Category: Templates| Templates]]==
 
The sooner its done, the sooner more people can learn how to contribute to the wiki.
 
 
This section should contain a more comprehensive tutorial on templates and how to build them.
 
  
 
This Wiki makes extensive use of templates. Templates allow you to re-use Wiki code and allow for easy editing.
 
This Wiki makes extensive use of templates. Templates allow you to re-use Wiki code and allow for easy editing.
  
 +
* SOMEONE WHO UNDERSTANDS THIS STUFF SHOULD HELP ASAP
 +
* This section should contain a more comprehensive tutorial on templates and how to build them.
 +
* http://en.wikipedia.org/wiki/Category:Wikipedia_templates
 +
* http://www.mediawiki.org/wiki/Template
 
===Example One===
 
===Example One===
  
 
For instance:
 
For instance:
 
<pre>
 
<pre>
<center>{{WQA in Progress}}</center>
+
<center>{{Wip}}</center>
 
</pre>
 
</pre>
 
adds
 
adds
<center>{{WQA in Progress}}</center>
+
<center>{{Wip}}</center>
  
 
In [[:Category:Improvement Needed Templates]] there are a list of improvement templates. Open them up and see how they work. It will help you with understanding how to write you own.
 
In [[:Category:Improvement Needed Templates]] there are a list of improvement templates. Open them up and see how they work. It will help you with understanding how to write you own.
Line 44: Line 34:
  
 
The to-do list template <pre>{{Wolfire Wiki To Do}}</pre> adds this: *REMOVED* (messes with the content browser)
 
The to-do list template <pre>{{Wolfire Wiki To Do}}</pre> adds this: *REMOVED* (messes with the content browser)
 +
 +
===Special Pages===
 +
{{stub}}
 +
* How can I limit the amount of content I want to show (ie only 15 recent changes or the most recent change per person)? - Conner36
 +
<pre>{{Special:RecentChanges}} Adds the contents from the special page.
 +
Be careful not to leave any spaces between the words.</pre>

Latest revision as of 09:01, 29 March 2018

This article is a stub. You should help Wolfire by expanding it.


Templates

This Wiki makes extensive use of templates. Templates allow you to re-use Wiki code and allow for easy editing.

Example One

For instance:

<center>{{Wip}}</center>

adds


Work in Progress Work in Progress: Comments & Edits Welcome


In Category:Improvement Needed Templates there are a list of improvement templates. Open them up and see how they work. It will help you with understanding how to write you own.

Example Two

The to-do list template
{{Wolfire Wiki To Do}}
adds this: *REMOVED* (messes with the content browser)

Special Pages

This article is a stub. You should help Wolfire by expanding it.

  • How can I limit the amount of content I want to show (ie only 15 recent changes or the most recent change per person)? - Conner36
{{Special:RecentChanges}} Adds the contents from the special page. 
Be careful not to leave any spaces between the words.