Template talk:WikiProject Australia

From Wikipedia, the free encyclopedia
Jump to: navigation, search

WikiTowns -- possible parameter[edit]

Currently {{Toodyaypedia article}} and {{Freopedia article}} are being used to identify articles that have been QR coded as part of their respective projects given that most of these articles also have this template on their talk page as well I thinking would it be possible to nest WikiTowns within the template. Thinking of adding a parameter like wikitown=freo or wikitown=toodyay which would then replace the templates purpose, then as more town come on line it'd be a simple matter of offering more parameter options. thoughts Gnangarra 15:04, 26 March 2014 (UTC)

I've done some coding in the sandbox, the results can be seen here. I had to use a second parameter |wikitown-status= to retain the current function of separate messages/categories for organisation, linked articles, confirmed articles, potential articles... but if you think we could get by with a single message and everything in one category (for each WikiTown), it would make the code a bit simpler. - Evad37 [talk] 01:04, 27 March 2014 (UTC)
Thanks I really dont the why of all the parameters for the templates, I just copied to create Toodyay, and thought there has to be easier way than this... I think there needs to be two categories, for when the plaques are in place(printed) and ones that have yet to be done. We also need to consider how to replicate this as more WikiTowns are created so it may be best to have the in place incorporated and retain a separate template for catching the potential that way as new projects develop they can create the holding template easy enough. Gnangarra 07:46, 27 March 2014 (UTC)
The way I've got the code at the moment, any future Someplacepedia can be added by changing the line
|note 5={{#switch:{{lc:{{{wikitown|}}}}}|freo|toodyay=yes}}
|note 5={{#switch:{{lc:{{{wikitown|}}}}}|freo|toodyay|someplace=yes}}
and making sure the appropriate project pages/categories are created. And a custom image can be specified in the |NOTE_5_IMAGE section of the code. So it should be fairly easy to add new wikitowns.
Based on what you said, I think that as well as the |wikitown= parameter, there should be a second parameter, |QR=yes or |QR=no, which would change the wording and category used for the QR code plaque was in pace or not. We'd have to decide what the default behaviour would be - defaulting to the message/cat for when the plaque hasn't been installed yet would seem to make sense.
As for the message itself, maybe we should turn it around so that the project is towards the beginning instead of at the end... something like
  • This article is within the scope of WikiTown Someplacepedia, and will be linked to by one or more organisations, using QRpedia.
  • This article is within the scope of WikiTown Someplacepedia, and is linked to by one or more organisations, using QRpedia. Statistics are available.
(the first for articles without a plaque yet, the second for those with a plaque). If your happy with this I'll do the coding for it in the sandbox, and then it can be tested and added to the main template. (Or if I've misunderstood – I'm a little tired at the moment – you can explain it again :) - Evad37 [talk] 14:20, 27 March 2014 (UTC)
@Gnangarra: I've refined the coding in the sandbox per the above. Just to clarify, usage would be as follows:
Would this fit with what you're looking for? - Evad37 [talk] 05:26, 28 March 2014 (UTC)

Thats great work it sounds good on the setup and looks simple enough to be updated... as for wording I think;

  • This article is linked via WikiTown Someplace using QR coding Statistics are available.
  • This article is within the scope of WikiTown Somplaceelse will be linked to in the future via QR coding.

or something like that the wording in the current forms feels very cludgy may @Mitch Ames: can help with this. Gnangarra 10:38, 28 March 2014 (UTC)

WikiTown Toodyaypedia is a defined project, so "within the scope of ..." make sense. However, what does "is linked via WikiTown Toodyaypedia" or "is linked to by one or more organisations" actually mean? I don't believe it tells us anything. So far as I can tell from QRpedia (and I admit to knowing nothing about the subject other than what I read in that article), all of the plaques encode a URL, qrwp.org/Article_name, and qrwp.org redirects the browser to (the mobile version of) the Wikipedia article in the appropriate language, or a Google translation of the article. All such articles - regardless of what town they are in, or whether or not there is a WikiTown project - are linked via the single organization QRpedia and/or its server qrwp.org. More accurate text might be:
Note that qr=no does not mention future QRpedia, because according to Category:WikiTowns "WikiTowns are projects based in towns that support Wikipedia outreach activity" - there's no requirement for a WikiTown to use QRpedia now or in future. We might declare our intent to install QRpedia plaques on the project page, but I don't think we gain anything by declaring automatically - and possibly incorrectly - that intent on each article talk page.
It's possible that there are links to the article from something other the QRpedia plaques; eg the Toodyay Shire or Historical Society might, with our explicit assistance as part of the WikiTown project, put links to a Wikipedia article from the relevant page on their websites about each historical building. We might want to indicate that specifically (eg as we do for QRpedia), but if so, it should probably be separate template parameter (eg otherlinks=), because such links and QRpedia are independent of each other. If we do that, we can either:
  • Add some extra words covering those links, which means we have to think up some appropriate words (eg " linked to by external organisations associated with the WikiTown", but needs refining), and have complicated template syntax to cover the punctuation etc for all four combinations of qr= and otherlinks=
  • if otherlink=yes, ignore qr= and revert to just "linked to by other organisations", which is vague, but correct.
(And again, if otherlink=no the template gives no indication of future intent.)
So, it seems we need to answer the question: is the template to be limited to QRpedia only, or do we want to explicitly mention links to Wikipedia articles from other external sites (related to the WikiTown project)?
Mitch Ames (talk) 12:54, 29 March 2014 (UTC)
As always good points knew Mitch would be able to help, QR coding is the primary aim at the moment but your right there will be alternative linking method being use both via web links and NFC technology there are bound to be other formats as well. so the base text would be this article is within the scope of WikiTown Toodyaypedia then link=qr would add this article is the target of a QRpedia link. Statistics are available. link=other returning linked to by other organisations if specific stats are available for other link types then a parameter for them can be added. link= with no value would just not be shown Gnangarra 13:41, 29 March 2014 (UTC)
I think the QR link should be separate from other links - who is to say that an article won't have both a QR plaque and a link from an external website? So maybe we could have the |QR=yes / no (or blank), and a separate |link= parameter for linking back to webpage that links to the article – eg |link=http://www.toodyay.wa.gov.au/connor-s-mill.aspx producing something like "It is linked to by an associated organisation." (or similar/better wording). Keeping this part as a separate sentence, whether the article is QR linked or not, would perhaps simplify the punctuation situation. The "It is linked" could be changed to "It is also linked" for |QR=yes - Evad37 [talk] 16:18, 29 March 2014 (UTC)
QR coding ... alternative linking method being use both via web links and NFC technology ...
Some thoughts... QRpedia combines two independent technologies, QR codes (encoding url=qrwp.org) and "redirect to Wikipedia article in my preferred language". Imagine there were circumstances where NFC (or some other front end technology) might be desirable instead of (or as well as) QR code, and someone implemented it; the second part of QRpedia (redirect to preferred language Wikipedia) does not need to change. The qrwp server might not even need to know whether the front end is QR or NFC - that's merely a way of encoding a qrwp.org url. (Demonstration of this - tell my browser that my preferred language is French, then type in an URL of http://en.qrwp.org/Toodyay, and it take me to the French mobile version of the Toodyay article - no actual QR code was used.) Would "QRpedia" change its name then? Probably not. If someone were to implement NFC front-ends - and some WikiTowns used only QRcodes, some used only NFC, and some used both - would we bother with distinguishing in the template between QR code plaques and NFC readers? We could if we wanted to, eg |NFC=yes.
Links from external web sites are more useful because - as Evad37 demonstrates above - we can link back to them. Linked to by "an associated organisation" still sounds clunky, but why not allow customizable text: |link=http://www.toodyay.wa.gov.au/connor-s-mill.aspx|linkfrom=the Shire's web site gives "It is linked to from the Shire's web site." Could/should we have a per-WikiTown value or default, so we don't have to put it on every page? Mitch Ames (talk) 02:36, 30 March 2014 (UTC)
The |linkfrom= parameter seems like a good idea, but I think the default needs to be more generalised - otherwise, if an editor just pastes in the url without using the |linkfrom= parameter, the template could wrongly imply an affiliation between the default organisation and some other website. Seems safer – and easier for coding – to have something general like "associated organisation" if |linkfrom= hasn't been specified. - Evad37 [talk] 05:47, 30 March 2014 (UTC)
what about saying linked by a collaborative partner that way it doesnt get misused for say something like bobs book of birdies dot org and the template document can specify its for WikiTown collaborative partners if they link from their official site only... Gnangarra 13:18, 30 March 2014 (UTC)
Regardless of the wording of any default value |linkfrom=, I agree we do need to state explicitly in the documentation that the parameter is for WikiTown partners (or words to that effect) only. Mitch Ames (talk) 12:22, 31 March 2014 (UTC)


  • In light of the discussion above, what categories do we to use? Perhaps "Someplacepedia articles" with a subcat "Articles linked to by Someplacepedia" (similar to existing categories) – or should QR-linked articles be in a separate category to otherwise-linked articles? - Evad37 [talk] 12:15, 1 April 2014 (UTC)
    • for categories I think,
      • QR linked Australian articles
      • WikiTown Someplace articles
      • Articles linked to by Someplacepedia
    • the category:Articles linked to by Someplacepedia would then be a sub category of the other two Gnangarra 11:31, 4 April 2014 (UTC)
OK, I think we should be basically good to go, except that "WikiTown Someplace articles" should be "WikiTown Someplacepedia articles" (otherwise we would get cats like "WikiTown Freo articles" rather than "WikiTown Freopedia articles"). I'll just wait for @Mitch Ames: to comment, as it is easier to fix any issues now rather than at a CFD. - Evad37 [talk] 02:20, 5 April 2014 (UTC)
Articles linked to by Someplacepedia should be a subcat of WikiTown Someplacepedia articles, because we've agreed that |linkfrom= is only for WikiTown partners. However Articles linked to by Someplacepedia should not be a subcat of QR linked Australian articles, because membership of the first does not imply membership of the second. Nor is the reverse true. Eg an article can be an Article linked to by Someplacepedia without having a QR code. Likewise there may be articles linked to via QRpedia that are not part of an Australian WikiTown, eg Talk:Children's Chapel, St James' Church, Sydney. Thus in the category hierarchy, Articles linked to by Someplacepedia and QR linked Australian articles are independent, as are WikiTown Someplacepedia articles and QR linked Australian articles.
We already have Category:Articles linked to by QRpedia, so QR linked Australian articles should perhaps be Australian articles linked to by QRpedia (and a subcat of Category:Articles linked to by QRpedia) - and, as already implied, not everything in that category will be a part of a WikiTown or even necessarily be part of an Australian WikiProject.
We should probably also be asking for input from WT:QR.
See also: Help talk:Mobile access#QRpedia. Mitch Ames (talk) 12:58, 7 April 2014 (UTC)
Okay, perhaps a better category structure would be Articles linked to by Someplacepedia as a subcat of WikiTown Someplacepedia articles, Australian articles linked to by QRpedia as a subcat of Articles linked to by QRpedia, and use "See also" hatnotes to link Australian articles linked to by QRpedia and Australian articles linked to by WikiTowns, which would be a container for all the Articles linked to by Someplacepedia categories.
In anycase, I think the code to categorise the pages would be the same:
  • |wikitown=someplaceCategory:WikiTown Someplacepedia articles
  • |wikitown=someplace|link=<somelink>Category:WikiTown Someplacepedia articles & Category:Articles linked to by Someplacepedia
  • |wikitown=someplace|QR=yesCategory:WikiTown Someplacepedia articles & Category:Articles linked to by Someplacepedia & Category:Australian articles linked to by QRpedia
If an article is linked by QRpedia but not part of a WikiTown project, the situation would be the same as at the moment (a separate template doing its own categorisation) - Evad37 [talk] 14:08, 7 April 2014 (UTC)
  • just a thought would it not be better to have Category:Articles linked via QRpedia in Australia as not all topics are specifically Australian aka Herbert Hoover, US Submarine Assoc, Royal Marines and a couple of others that have been coded in Connors Mill Gnangarra 00:40, 8 April 2014 (UTC)
    • Actually, since this will be used on articles which won't have a WP:AUS talk page banner, maybe the code should be in a separate {{Australian WikiTown}} template, and then shortcut templates like {{Someplacepedia}} could automatically fill in |wikitown=someplace, and pass through the values of the other parameters. It would still be just as easy to code for new Wikitowns, and the documentation page would then be specific for the wikitown parameters, so the explanation of the link / linkfrom parameters would be less likely to be overlooked. Or perhaps it could be even more generalised to just {{wikitown}} with a |country= parameter (to be filled in by the shortcut templates) which could set Category:Articles linked via QRpedia in Country - Evad37 [talk] 01:25, 8 April 2014 (UTC)
      • makes sense too then non australian WikiTowns could also follow suit and even have them nested together where article are in multiple projects like Moondyne Joe Gnangarra 08:06, 9 April 2014 (UTC)
        • I've done some coding in my sandbox, User:Evad37/sandbox/Template:Wikitown/testcases is the result. I haven't yet done the QRpedia in Country categories, but the rest is working, including nesting multiple wikitowns. - Evad37 [talk] 13:24, 9 April 2014 (UTC)
          • All done now (except that Wikipedia:WikiTown is a redlink). I used namespace detection, so that only article talk pages use the above categories. Other talk pages, such for the main project page, will use Category:WikiTown Someplacepedia project pages (so that the banner can be placed on the talk pages of all the wikitown's categories, templates, Wikipedia: pages etc). If your happy with this, I can move the sandbox code into proper templates. - Evad37 [talk] 02:52, 10 April 2014 (UTC)
            • go for it, other tinkering can be done once live, like changing the images to an actual plate... Gnangarra 12:49, 10 April 2014 (UTC)


Hi, Neat post. There is a problem with your web site in internet explorer, would check this… IE still is the market leader and a huge portion of people will miss your fantastic writing due to this problem. best wishes

Could you be a bit more specific about the problem? Which page, which version of IE, exactly what the problem is?
(Possibly this should be moved to WP:PUMPTECH.) Mitch Ames (talk) 03:38, 23 November 2014 (UTC)

Parameters aliases[edit]

Using many parameter aliases may cause undetected duplicated parameters. I suggest that we cleanup the code and keep only one name per parameter. @Redrose64, Frietjes, WOSlinker, and Jonesey95:. -- Magioladitis (talk) 11:47, 8 January 2016 (UTC)

Having parameter aliases makes the template easier to use for the end user. I don't think we should be making things unnecessarily harder when alternative technical measures are possible - ie coding so that if a parameter and its alias are both defined, the page is added to a tracking category (definitely possible with #if: statements, possibly could be done better in Lua). Also, users of this template should be notified at WP:AWNB - Evad37 [talk] 00:30, 9 January 2016 (UTC)
Yes, see User talk:Frietjes#Template:WikiProject Australia. But we should make sure that the template is internally consistent - for example the three parameters |motorsport= |V8= |v8= are aliases with equal precedence in the main part of the template, but when the template is nested in {{WikiProjectBannerShell}} etc., |motorsport= has precedence over |v8= which in turn has precedence over |V8=. Associated with these is an importance parameter - but for that, the order of precedence is |motorsport-importance= |V8-importance= |v8-importance= --Redrose64 (talk) 02:06, 9 January 2016 (UTC)