Latest Neocron News and Information

  • New test server patch #563 has been released to Vedeena

Difference between revisions of "User:Brammers/Dev04"

From Neocron Wiki
Jump to: navigation, search
Line 23: Line 23:
 
Using the wiki <nowiki>{{#tag}}</nowiki> parser tag
 
Using the wiki <nowiki>{{#tag}}</nowiki> parser tag
  
<nowiki>{{#tag:itemdb:show_list items="1000,1001,1002"}}</nowiki>
+
<nowiki>{{#tag:itemdb:show_list|items="1000,1001,1002"}}</nowiki>
  
{{#tag:itemdb:show_list items="1000,1001,1002"}}
+
{{#tag:itemdb:show_list|items="1000,1001,1002"}}
  
 
=== Test 3 ===
 
=== Test 3 ===

Revision as of 23:57, 1 January 2009

Transcluding Item ID's

Test page to see if item ID's can be transcluded.

Item's ID page User:Brammers/Dev04/Items

This is what I want to do:

<itemdb:show_list items="{{User:Brammers/Dev04/Items}}">

List of items to transclude which is in this page - User:Brammers/Dev04/Items

1500,1501,1502,1503,1504,1505

Test 1

<itemdb:show_list items="{{{User:Brammers/Dev04/Items}}}"/>

Wiki parser won't transclude stuff within tags.

Test 2

Using the wiki {{#tag}} parser tag

{{#tag:itemdb:show_list|items="1000,1001,1002"}}

<itemdb:show_list>items="1000,1001,1002"</itemdb:show_list>

Test 3

{{#tag:itemdb:show_list items="{{{User:Brammers/Dev04/Items}}}"}}

<itemdb:show_list items="{{{user:brammers/dev04/items}}}"/>

Test 2 and 3 wont work, as we need wiki version 1.12 - see here