Tag Info

New answers tagged

1

You would write the following in Template:PMC: [http://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{1}}}/ PMC {{{1}}}] And then call it with {{PMC|2824929}}. Of course this doesn't verify that the number is valid or even that one has been provided.


1

Make sure the ParserFunctions extension is installed. Then put the following in a template, such as Template:Iftest {{#if: {{{CODE|}}} | [[CODE-{{{CODE}}}]] | (not applicable) }} If CODE-parameter is empty or not present you get (not applicable). i.e. {{Iftest|CODE=123}} gives [[CODE-123]] {{Iftest|CODE=}} gives (not applicable) {{Iftest}} gives (not ...


1

To use the functionality built into Wikipedia you would have to have all of the Wikis belong to the same Wiki family. Since your local Wiki is unlikely to be part of the Wikipedia family you could instead solve this with JavaScript, CSS and templates. As an example creating a sidebar link to Wikipedia would require: Create a template (e.g. ...


1

Titles with underscores are not allowed in MediaWiki. Per https://www.mediawiki.org/wiki/Manual:Page_title: The following are not valid as page titles: [...] Titles containing the characters # < > [ ] | { } _ (which have special meanings in Wiki syntax) Categories display titles as stored in the database. DISPLAYTITLE only affects the ...



Top 50 recent answers are included