Actions

Template

Difference between revisions of "OGL Entry"

From P6 Spheres

 
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=OGLEntries|Book=Searchtext|Tag=String|Open_Game_Content=List (,) of Text}}
+
{{#cargo_declare:_table=OGLEntries|Book=Searchtext|Tag=String|Open_Game_Content=List (
 +
 
 +
) of Text}}
 
</noinclude><includeonly>{{#cargo_store:_table=OGLEntries|Book={{{Book|}}}|Tag={{{Tag|}}}|Open_Game_Content={{{Open Game Content|}}} }}{| class="wikitable"
 
</noinclude><includeonly>{{#cargo_store:_table=OGLEntries|Book={{{Book|}}}|Tag={{{Tag|}}}|Open_Game_Content={{{Open Game Content|}}} }}{| class="wikitable"
 
! Book
 
! Book
Line 19: Line 21:
 
|-
 
|-
 
! Open Game Content
 
! Open Game Content
| {{#arraymap:{{{Open Game Content|}}}|,|x|[[x]]}}
+
| {{{Open Game Content|}}}
  
 
|}
 
|}

Latest revision as of 14:44, 15 March 2020

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

{{OGL Entry
|Book=
|Tag=
|Open Game Content=
}}

Edit the page to see the template text. This template defines the table "OGLEntries". View table.