Difference between revisions of "Metadata:Tags/Docs"

From Neocron Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 31: Line 31:
 
</pre>
 
</pre>
  
'''requiredParams''' ensures the correct params are specified. If they are not you will get a message as follows when you specify <faction_relation/>
+
'''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/>
Line 37: Line 37:
 
So to get the table to display. Use the following
 
So to get the table to display. Use the following
  
<faction_relation/>
+
<<nowiki />faction_relation factionid="1"/>
  
 
<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.