Wikipedia talk:Advanced template coding

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Wikipedia Help Project (Rated Start-class, Bottom-importance)
WikiProject iconThis page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.
Start-Class article Start  This page does not require a rating on the project's quality scale.
 Bottom  This page has been rated as Bottom-importance on the project's importance scale.
 
WikiProject Essays
WikiProject iconThis page is within the scope of WikiProject Essays, a collaborative effort to organise and monitor the impact of Wikipedia essays. If you would like to participate, please visit the project page, where you can join the discussion. For a listing of essays see the essay directory.
 Low  This page has been rated as Low-impact on the project's impact scale.
 

What's the solution for wiki formatting with #if ?[edit]

You describe the issue where MediaWiki wiki-formats the clauses inside #if, but you don't say how to solve it! I've got an #if template that needs to generate http links containing semicolons (mw:Template:git file), and it messes up, badly and almost randomly. Is there a solution? -- Skierpage (talk) 20:54, 21 September 2012 (UTC)

If it is just an address, using &#59; instead of ; will work. Or, if the link always contains git before the semicolon, try adding git inside of #if. — TAKASUGI Shinji (talk) 02:25, 25 January 2013 (UTC)

Compare Help:Advanced templates[edit]

...which is a soft redirect to the page of the same title on Meta. Should it be mentioned in the "See also" section? --SoledadKabocha (talk) 18:45, 10 November 2012 (UTC)