updating to accommodate entries without the "source" label. Still considering if there is a way to show "N/A" when either variable is used. I'm sure it can be done, but I'm not sure how.
Line 4:
Line 4:
|- style="border: 1px solid #A9A9A9;" border="1"
|- style="border: 1px solid #A9A9A9;" border="1"
|align="center"|'''Source'''
|align="center"|'''Source'''
−
||{{{source|N/A}}}
+
<!--||{{{source|N/A}}}-->
+
||{{#if:string |{{{source|}}} |{{{1}}}}}
|}
|}
−
<noinclude>
<noinclude>
This template is for public domain images. Copy and paste the code below in the image page.
This template is for public domain images. Copy and paste the code below in the image page.
Line 18:
Line 18:
</pre>
</pre>
+
Note: the "source" label is optional. The source text can also be added like so: <code><nowiki>{{PD tag|Source text}}</nowiki></code>