Tardis:Galleries: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
Line 6: Line 6:
[[#Standard Wikia help file|Wikia's explanation of galleries]] will tell you the ''simplest'' way to make a gallery.  But it won't tell you much about how the function behaves in live examples.  That's why we're providing some wisdom from actual case studies.
[[#Standard Wikia help file|Wikia's explanation of galleries]] will tell you the ''simplest'' way to make a gallery.  But it won't tell you much about how the function behaves in live examples.  That's why we're providing some wisdom from actual case studies.
===Put that add button away===
===Put that add button away===
'''Always hide the add photo button.'''  If you don't add any options to your <nowiki><gallery</nowiki> tag, it will automatically show a button that invites users to add a photo the gallery.  This is undesirable for several reasons:
'''Always hide the add photo button.'''  If you don't add any options to your <nowiki><gallery></nowiki> tag, it will automatically show a button that invites users to add a photo the gallery.  This is undesirable for several reasons:
*It makes it easy for vandals or even just new users testing the wiki to ruin your gallery.  With a couple of clicks, they can easily insert inappropriate pictures directly into your gallery.
*It makes it easy for vandals or even just new users testing the wiki to ruin your gallery.  With a couple of clicks, they can easily insert inappropriate pictures directly into your gallery.
#It allows people to upload pictures without adding a proper copyright license.  The add button completely bypasses the [[MediaWiki:Licenses|Licensing]] drop-down menu.
#It allows people to upload pictures without adding a proper copyright license.  The add button completely bypasses the [[MediaWiki:Licenses|Licensing]] drop-down menu.
Line 13: Line 13:
'''For these reasons, this wiki ''requires'' you to hide the add button by using this markup:'''
'''For these reasons, this wiki ''requires'' you to hide the add button by using this markup:'''
<pre><gallery hideaddbutton="true"></pre>
<pre><gallery hideaddbutton="true"></pre>
===Enough is enough===
===Enough is enough===
'''Don't go overboard with galleries.''' Theoretically, you can use galleries to display a very large number of pictures. This poses a problem for users who have slow connections.  We're not just talking about those who use dialup.  We mean almost '''everyone''' who's viewing on a smartphone, and many who are connected wirelessly.   
'''Don't go overboard with galleries.''' Theoretically, you can use galleries to display a very large number of pictures. This poses a problem for users who have slow connections.  We're not just talking about those who use dialup.  We mean almost '''everyone''' who's viewing on a smartphone, and many who are connected wirelessly.   
85,404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.