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 4: Line 4:
  
 
Item's ID page [[User:Brammers/Dev04/Items]]
 
Item's ID page [[User:Brammers/Dev04/Items]]
 +
 +
This is what I want to do:
  
 
<nowiki><itemdb:show_list items="{{User:Brammers/Dev04/Items}}"></nowiki>
 
<nowiki><itemdb:show_list items="{{User:Brammers/Dev04/Items}}"></nowiki>
 +
 +
List of items to transclude which is in this page - [[User:Brammers/Dev04/Items]]
  
 
{{User:Brammers/Dev04/Items}}
 
{{User:Brammers/Dev04/Items}}
  
<itemdb:show_list items="{{{User:Brammers/Dev04/Items}}}">
+
=== Test 1 ===
 +
 
 +
<itemdb:show_list items="{{{User:Brammers/Dev04/Items}}}"/>
 +
 
 +
Wiki parser won't transclude stuff within tags.
 +
 
 +
=== Test 2 ===
 +
 
 +
Using the wiki <nowiki>{{#tag}}</nowiki> parser tag
 +
 
 +
<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 ===
 +
 +
<nowiki>{{#tag:itemdb:show_list items="{{{User:Brammers/Dev04/Items}}}"}}</nowiki>
  
 
{{#tag:itemdb:show_list items="{{{User:Brammers/Dev04/Items}}}"}}
 
{{#tag:itemdb:show_list items="{{{User:Brammers/Dev04/Items}}}"}}
 +
 +
Test 2 and 3 wont work, as we need wiki version 1.12 - see [http://www.mediawiki.org/wiki/Manual:Tag_extensions#Extensions_and_Templates here]

Revision as of 11:54, 30 May 2008

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"/>

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