Difference between revisions of "Template:Item"

From playdf - wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{plainlink |url=https://chicken.playdf.org/?module=item&action=view&id={{{id}}}}}</includeonly><noinclude>
+
<includeonly>{{ plainlink |url=https://nya.playdf.org/?module=item&action=view&id={{{id}}} }}</includeonly><noinclude>
 
Item is used to create a link pointed at the Item Overview tab in Chicken site.
 
Item is used to create a link pointed at the Item Overview tab in Chicken site.
  
 
== Syntax ==
 
== Syntax ==
<code><nowiki>{{item|id=<id> Name of your item}}</nowiki></code>
+
<code><nowiki>{{Item |id=<id> Name of your item}}</nowiki></code>
  
 
; Parameter
 
; Parameter
Line 11: Line 11:
 
== Example ==
 
== Example ==
  
Using <code><nowiki>{{item|id=7773 War Badge}}</nowiki></code> will result into {{item|id=7773 War Badge}}
+
Using <code><nowiki>{{Item |id=7773 War Badge}}</nowiki></code> will result into {{Item |id=7773 War Badge}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:03, 1 March 2021

Item is used to create a link pointed at the Item Overview tab in Chicken site.

Syntax

{{Item |id=<id> Name of your item}}

Parameter
id 
The unique id referent to the item, you should not put the less than and greater than symbols.
Name 
This is not a named parameter, you don't need to explicit it like name=, but you should put the item name there.

Example

Using {{Item |id=7773 War Badge}} will result into War Badge