Tardis:Galleries: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
Line 4: Line 4:
For details on how to create galleries, you can read the potted [[#Standard Wikia help file|Wikia help file below]].  Even better is the [[Help:Galleries and slideshows/wikitext|more detailed help file]], which explains the finer points of [[T:MARK|wiki markup]] for galleries.
For details on how to create galleries, you can read the potted [[#Standard Wikia help file|Wikia help file below]].  Even better is the [[Help:Galleries and slideshows/wikitext|more detailed help file]], which explains the finer points of [[T:MARK|wiki markup]] for galleries.
==Things you might not have thought about==
==Things you might not have thought about==
[[#Standard Wikia help file|Wikia's explanation of galleries]] will give you an overview of the gallery process.  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.
===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.   
Line 29: Line 29:
#Try to use images that are all of the same dimensions.  If you're displaying a series of magazine covers, for instance, it's a good idea to crop all of them to precisely the same dimensions.  That way, they'll all be perfectly scaled down.
#Try to use images that are all of the same dimensions.  If you're displaying a series of magazine covers, for instance, it's a good idea to crop all of them to precisely the same dimensions.  That way, they'll all be perfectly scaled down.
#If you ''must'' use a mixture of widescreen, 4:3, and extremely skinny images, don't put them all into the same gallery structure.  Find a way to break up the  galleries on the same page, so that the gallery command is not having to work so hard.
#If you ''must'' use a mixture of widescreen, 4:3, and extremely skinny images, don't put them all into the same gallery structure.  Find a way to break up the  galleries on the same page, so that the gallery command is not having to work so hard.
===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:
*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:Licensing|Licensing]] drop-down menu.
*It makes the end of a particular gallery obvious.  If you remove the button, you can put several galleries together in such a way that the join isn't obvious (so long as you haven't put a border around your galleries). 
For these reasons, '''this wiki ''requires'' you to hide the add button by using this markup<pre><gallery hideaddbutton="true"></pre>


==Rules of use==
==Rules of use==
85,404

edits

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