mNo edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#ifeq: {{{Indent| }}} | {{{Indent|u}}} | {{{Indent}}} | }}{|border=0 cellpadding=0 cellspacing=0 class="toccolours" style="float:none; padding: 5px 5px 5px 5px;"
{{{Indent}}}{|border=1 cellpadding=5 cellspacing=0 style=background:#F0F0F0
|  
|  
{{#ifeq:{{{To|}}} | | | '''''To:''' {{{To}}}''<br> }}
{{#ifeq: {{{To| }}} | {{{To|u}}} | {{#ifeq:{{{To|}}} | | | '''''To:''' {{{To}}}''<br> }} | }}
{{{Text}}}
{{{Text}}}
|}
|}</includeonly><noinclude>
</includeonly>
<noinclude>
{{Related|Wiki Templates|Forum}}
{{Related|Wiki Templates|Forum}}
== Syntax ==
== Syntax ==


<pre>
<pre style="width:auto; overflow:auto">
{{Post
{{Post
  | Indent =  
  | Indent =  
  | To =  
  | To =  
| Text =
}}
</pre>
<pre>
{{Post
  | Text =  
  | Text =  
}}
}}
Line 23: Line 26:
For example:  
For example:  


<pre>
<pre style="width:auto; overflow:auto">
{{Post
{{Post
| Indent =
  | To = Wiki User 2
  | To = Wiki User 1
  | Text = I agree that we should start using exact names for in game items. But what about when more than one item has the same name, which should get the exact name? --~~~~
  | Text = I agree that we should start using exact names for in game items. But what about when more than one item has the same name, which should get the exact name? --~~~~
}}
}}
{{Post
{{Post
  | Indent = :
  | Indent = :
  | To = Wiki User 2
  | To = Wiki User 1
  | Text = There's an article, [[Naming Conventions]], that describes which gets the exact name --~~~~
  | Text = There's an article, [[Naming Conventions]], that describes which gets the exact name --~~~~
}}
}}
Line 52: Line 54:


{{Post
{{Post
| Indent =
| To =
  | Text = To use an alias within a template parameter you can't use a regular pipe because the template views it as a parameter separator. Instead of a pipe, use <nowiki>{{!}}</nowiki>, for example:
  | Text = To use an alias within a template parameter you can't use a regular pipe because the template views it as a parameter separator. Instead of a pipe, use <nowiki>{{!}}</nowiki>, for example:


Line 67: Line 67:
}}
}}


[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 17:20, 21 April 2009

Related topics: Wiki Templates, Forum

Syntax Edit

{{Post
 | Indent = 
 | To = 
 | Text = 
}}
{{Post
 | Text = 
}}

Usage Edit

Used to make posts on talk pages or on the Forum to help readability. If Indent is left blank there will be no indent, use a colon ( : ) for each level of indentation desired. To can also be left blank if there isn't a particular person the post is addressed to.

For example:

{{Post
 | To = Wiki User 2
 | Text = I agree that we should start using exact names for in game items. But what about when more than one item has the same name, which should get the exact name? --~~~~
}}
{{Post
 | Indent = :
 | To = Wiki User 1
 | Text = There's an article, [[Naming Conventions]], that describes which gets the exact name --~~~~
}}

displays as:

To: Wiki User 1
I agree that we should start using exact names for in game items. But what about when more than one item has the same name, which should get the exact name? --Wiki User 1 06:04, 24 January 2009 (CST)

To: Wiki User 2
There's an article, Naming Conventions, that describes which gets the exact name --Wiki User 2 06:15, 24 January 2009 (CST)

You can include example code within a post, for example:

To use an alias within a template parameter you can't use a regular pipe because the template views it as a parameter separator. Instead of a pipe, use {{!}}, for example:

{{Related|:Category:Maps{{!}}All Maps}}

will display as:

Related topics: All Maps

--Wiki User 1 06:30, 24 January 2009 (CST)