Difference between revisions of "Metadata:Tags/Docs"

From Neocron Wiki
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 30: Line 30:
 
           - factionid
 
           - factionid
 
</pre>
 
</pre>
 +
 +
'''requiredParams''' ensures the correct params are specified. If they are not you will get a message as follows when you specify <<nowiki />faction_relation/>
  
 
<faction_relation/>
 
<faction_relation/>
 +
 +
So to get the table to display. Use the following
 +
 +
<<nowiki />faction_relation factionid="1"/>
 +
 +
<faction_relation factionid="1"/>
 +
 +
== Optional and Default params ==
 +
 +
<pre>
 +
tags:
 +
  test_ca_table:
 +
      url: http://stats.techhaven.org/api/data/en/faction-relation.html
 +
      cache: 30   
 +
      optionalParams:
 +
          - factionid
 +
      defaultParams:
 +
          factionid: 1
 +
</pre>
 +
 +
<<nowiki />test_ca_table/>
 +
 +
<test_ca_table/>
 +
 +
<<nowiki />test_ca_table factionid="14"/>
 +
 +
<test_ca_table factionid="14"/>

Latest revision as of 09:26, 25 October 2013

Sorry you do not have permissions to view this page.