Difference between revisions of "Template:Gifs -- Harbor template"

From Coastal Wiki
Jump to: navigation, search
Line 37: Line 37:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
+
<script>
 +
$(document).ready(function(){
 +
$("table tr").each(function() {       
 +
var cell = $.trim($(this).find('td').text());
 +
if (cell.length == 0){
 +
console.log('empty');
 +
$(this).css('visibility: collapse');
 +
}                 
 +
});
 +
});
 +
</script>
 
<div class="gifsharbortable">
 
<div class="gifsharbortable">
 
{| border="1" cellspacing="0" width="100%" cellpadding="5"
 
{| border="1" cellspacing="0" width="100%" cellpadding="5"

Revision as of 11:32, 15 July 2014

This is the "Gifs -- Harbor template" template. It should be called in the following format:

{{Gifs -- Harbor template
|vessel1=
|vessel2=
|vesseltotal=
|landingsdemersel=
|landingspelagic=
|landingsshellfish=
|landingsallspecies=
|valuedemersal=
|valuepelagic=
|valueshellfish=
|valueallspecies=
|fishermenreg=
|fishermentotal=
|fishermenpart=
|fishspecies=
|locationauctions=
|governance=
|FLAG=
|locfisherorg=
|brandlabels=
|fishselling=
|fishprocessing=
|restaurantshotels=
|tourism=
|festivals=
|museums=
|aquariums=
|monuments=
|school=
}}

Edit the page to see the template text.