Difference between revisions of "Template:Popup"

From Game Detectives Wiki
Jump to: navigation, search
[checked revision][checked revision]
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<span style="display:none">{{#set:argPopupContent=<p id="{{ROOTPAGENAME}}-popup">{{{content|[[{{#show:{{ROOTPAGENAME}}|?argImage}}|300px]]<br><br>Status: '''{{#show:{{ROOTPAGENAME}}|?argStatus}}'''<br>Created By: {{#show:{{ROOTPAGENAME}}|?argCreator}}<br>Discovered on: {{#show:{{ROOTPAGENAME}}|?argDiscoverDate}}<br><br>{{#show:{{ROOTPAGENAME}}|?argDescription}}}}}</p>}}</span>
+
<span style="display:none">{{#set:argPopupContent=<p id="{{ROOTPAGENAME}}-popup">{{#if:{{{defaultContent|[[{{#show:{{ROOTPAGENAME}}|?argImage}}|300px]]<br><br>Status: '''{{#show:{{ROOTPAGENAME}}|?argStatus}}'''<br>Created By: {{#show:{{ROOTPAGENAME}}|?argCreator}}<br>Discovered on: {{#show:{{ROOTPAGENAME}}|?argDiscoverDate}}<br><br>{{#show:{{ROOTPAGENAME}}|?argDescription}}}}}|{{{defaultContent}}}|{{{content|}}}}}</p>}}</span>
 
</includeonly>
 
</includeonly>

Revision as of 16:52, 20 August 2018