Template talk:Cc-by-3.0

(Redirected from Template talk:Cc-by-3.0/sandbox)
Latest comment: 11 years ago by Mr. Stradivarius in topic Images of non-free subjects

Edit request from Logan, 28 January 2011 edit

{{edit protected}} The conditional text should say "file pages," not "image pages," as on {{Cc-by-sa-3.0}}.

Logan Talk Contributions 07:58, 28 January 2011 (UTC)Reply

  updated — Martin (MSGJ · talk) 12:35, 28 January 2011 (UTC)Reply
  Thank you Logan Talk Contributions 02:37, 29 January 2011 (UTC)Reply

Images of non-free subjects edit

The code in the sandbox for this template implements the additional dw param which has been added in order to allow for suppression of the categorisation as free media where the media is of a non-free subject, and thus not suitable for transfer to Wikimedia Commons.

It would be appreciated if the change could be CAREFULLY reviewed and incorporated into the main template.

Sfan00 IMG (talk) 07:58, 26 March 2013 (UTC)Reply

  Partly done:. Sorry to change your code again, but I used {{yesno}} in the implementation. If you test {{#ifeq:{{{dw|no}}}|no|{{free media}}}} with the dw parameter present but empty (as in {{Cc-by-3.0|dw=}}) then you'll find that {{free media}} would not be included, although that is the opposite of what you want. Using yesno fixes this, as it takes this case into account automatically. And sorry about the mistakes yesterday - I was definitely not as careful as I should have been. :( — Mr. Stradivarius ♪ talk ♪ 15:34, 26 March 2013 (UTC)Reply