Template:REST resource

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
 
Line 10: Line 10:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{| class="wikitable"
+
{| class="wikitable" style="float: right; width: 24em; text-align: left; line-height: 1.5em; font-size: 90%; clear: right; table-layout:fixed; word-wrap: break-word;"
! REST operation
+
! colspan=2 style="text-align: center; font-size: 125%" | {{{Name|{{PAGENAME}} }}}
| [[REST op::{{{REST_op|}}}]]
+
 
|-
 
|-
! Representation
+
{{#if:{{{REST_op|}}} |
| [[REST representation::{{{REST_representation|}}}]]
+
{{!}} REST operation
 +
{{!}} [[REST op::{{{REST_op|}}}]]
 +
{{!}}-
 +
| }}
 +
{{#if:{{{REST_representation|}}} |
 +
{{!}} Representation
 +
{{!}} [[REST representation::{{{REST_representation|}}}]]
 +
| }}
 
|}
 
|}
  

Latest revision as of 10:44, 13 October 2011

This is the "REST_resource" template. It should be called in the following format:

{{REST_resource
|REST_op=
|REST_representation=
}}

Edit the page to see the template text.

Personal tools