Changes

From Gramps

Template talk:Languages/Lang

45 bytes added, 8 March
What it does: Formatting tweeks
If a country-specific page exists, then construct an entry for the table that is built by Template:Languages
* start with <nowiki>"&nbsp;&bull;&nbsp;</nowiki>"* Open a span, with an anchor 'lang': <code><<nowiki>span lang="CC"></nowiki></code>
* Create a link to the country-specific page
** By default <code><nowiki>[[ :{{NAMESPACE}}:{{BASEPAGENAME}}/CC | {{#language:CC }} ]]</nowiki></code>
*** - but page CC:TAN does not exist,
**: then fall back to <code><nowiki>[[AN/CC | {{#language:CC }} ]]</nowiki></code>
* Close the span: <code><nowiki></span></nowiki></code>
If the page given by the parameters does not exist, then issue an empty span:
252
edits

Navigation menu