Difference between revisions of "Template:Family"

From NorCon MUSH
Line 1: Line 1:
<includeonly>{{#get_db_data:
+
{{#get_db_data:
 
db=norcon
 
db=norcon
 
|from=chars LEFT JOIN  `chars_relations` on chars.relations = chars_relations.id
 
|from=chars LEFT JOIN  `chars_relations` on chars.relations = chars_relations.id
Line 5: Line 5:
 
|data=name=name,relations=relations
 
|data=name=name,relations=relations
 
}}
 
}}
{| class="table table-striped sortable" {{!}}
+
{{#ifeq:{{#external_value:relations}}| | |{| class="table table-striped sortable" {{!}}
 
!Relationship
 
!Relationship
 
!Name
 
!Name
Line 18: Line 18:
 
{{!}}-
 
{{!}}-
 
}}  
 
}}  
|}</includeonly>
+
|} }}

Revision as of 03:25, 8 June 2015