<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Broken URL types &amp; better templating</title>
		<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating</link>
		<description>Posts in the discussion thread &quot;Broken URL types &amp; better templating&quot; - How do you escape () in a URL?</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-167506</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-167506</link>
				<description></description>
				<pubDate>Wed, 21 May 2008 14:19:08 +0000</pubDate>
				<wikidot:authorName>Brunhilda</wikidot:authorName>				<wikidot:authorUserId>91730</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>For wikipedia links — why don't you use <a href="http://tinyurl.com/">http://tinyurl.com/</a> ?</p> <p>You put in the long unpleasant and awful link from wikipedia, and get very short and cute little link that is much more manageable and it works the same! I use it a lot in my wiki, since I have to put URLs in cyrillic, and they are very, but veeeeery long and unpleasant ….</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-166076</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-166076</link>
				<description></description>
				<pubDate>Mon, 19 May 2008 07:11:03 +0000</pubDate>
				<wikidot:authorName>Helmuti_pdorf</wikidot:authorName>				<wikidot:authorUserId>17609</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Question:</p> <p>At your page [<a href="http://pcg.wikidot.com/pcg-games:angband" >http://pcg.wikidot.com/pcg-games:angband</a>]<br /> I would use the long URL of the wikipedia ( with [*http..]. ) instead of the 3 [[[....]]]<br /> like the web site variable.</p> <div class="code"> <pre> <code>[[include pcg-game-box name=Angband | image=@@ | image-caption=@@ | screenshot=@@ | screenshot-caption=@@ | developer=Andrew Sidwell et al. | publisher=@@ | designer=@@ | series=@@ | engine=@@ | released=@@ | genre=Fantasy | modes=@@ | rating=@@ | platforms=Widely ported | media=@@ | requirements=@@ | input=Keyboard | latest_release_version=3.0.9b | latest_release_date=March 19, 2008 | license=Moria / Angband license | download=@@ | website=[*http://rephial.org rephial.org] | pcg-types=Runtime random level generation ]]</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-166070</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-166070</link>
				<description></description>
				<pubDate>Mon, 19 May 2008 06:58:04 +0000</pubDate>
				<wikidot:authorName>andrewdoull</wikidot:authorName>				<wikidot:authorUserId>125736</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks for the quick response.</p> <p>I'm not sure which syntax issue is the most intuitive. I guess moving the pipe is going to be best.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-166065</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-166065</link>
				<description></description>
				<pubDate>Mon, 19 May 2008 06:50:38 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>&gt; How do I include a wiki reference in an include?<br /> &gt; At the moment, the 3 right-square brackets appear to trigger the include terminator</p> <p>Are you asking about the problem that the following code doesn't work?</p> <blockquote> <p>[[include template name=[[[reference]]]<br /> | attribute=value]]</p> </blockquote> <p>If so, here are workarounds. Either:</p> <p>Don't split the include over several lines:</p> <blockquote> <p>[[include template name=[[[reference]]] | attribute=value]]</p> </blockquote> <p>Or, move the pipe symbol to the end of any line ending with …]]]:</p> <blockquote> <p>[[include template name=[[[reference]]] |<br /> attribute=value]]</p> </blockquote> <p>Or, put a space after the closing …]]]:</p> <blockquote> <p>[[include template name=[[[reference]]]<em>(instead of this text insert a single blank here)</em><br /> | attribute=value]]</p> </blockquote> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-166063</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-166063</link>
				<description></description>
				<pubDate>Mon, 19 May 2008 06:48:29 +0000</pubDate>
				<wikidot:authorName>andrewdoull</wikidot:authorName>				<wikidot:authorUserId>125736</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>Its not the case of wanting to include a page outside the wiki. It's that the internal variables can't be links to other wiki pages.</p> <p>For instance, looking at wikipedia, the majority of info boxes contain links to elsewhere in the wiki. But if I try the same syntax in an include, it breaks horribly because the 3 right-square brackets appears to trigger the include terminator, which is two right square brackets.</p> <p>e.g. in the include syntax</p> <p>include pcg-game-box name=Angband<br /> | developer=Andrew Sidwell<br /> | released=1990</p> <p>if I want to replace Andrew Sidwell with a link to the wiki article on Andrew Sidwell, I end up terminating the include instead with ]]] being recognised as the include terminator.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-165543</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-165543</link>
				<description></description>
				<pubDate>Sun, 18 May 2008 08:36:24 +0000</pubDate>
				<wikidot:authorName>Helmuti_pdorf</wikidot:authorName>				<wikidot:authorUserId>17609</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>As I know - an include tag can only reference to an "internal" page of the same wiki!</p> <p>If you need the content of an "outside" page inerted you have to use the iframe tag…</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-165525</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-165525</link>
				<description></description>
				<pubDate>Sun, 18 May 2008 06:47:01 +0000</pubDate>
				<wikidot:authorName>andrewdoull</wikidot:authorName>				<wikidot:authorUserId>125736</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks for the reponse everyone.</p> <p>One more question.</p> <p>How do I include a wiki reference in an include? At the moment, the 3 right-square brackets appear to trigger the include terminator, which is two right square brackets. Any workarounds or is this a basic syntax problem?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-165419</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-165419</link>
				<description></description>
				<pubDate>Sat, 17 May 2008 21:28:52 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>&gt; cannot see the source code required to implement it</p> <p>Have a look at the these Community HowTo's — you should see the needed source there:</p> <ul> <li><a href="http://community.wikidot.com/howto:set-up-an-infobox">Set Up An Infobox</a></li> <li><a href="http://community.wikidot.com/howto:set-up-an-infobox-exclude-specific-attributes">Set Up an Infobox — Exclude Specific Attributes</a></li> </ul> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-165096</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-165096</link>
				<description></description>
				<pubDate>Sat, 17 May 2008 06:21:00 +0000</pubDate>
				<wikidot:authorName>Helmuti_pdorf</wikidot:authorName>				<wikidot:authorUserId>17609</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Andrew!</p> <p>There is y very new implementation done with "live templates" ( as you asked for):</p> <p>[<a href="http://www.wikidot.com/doc:templates" >http://www.wikidot.com/doc:templates</a>]</p> <p>Have a look ! This is so new, that nobody has really tested it….</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-165022</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-165022</link>
				<description></description>
				<pubDate>Sat, 17 May 2008 00:31:44 +0000</pubDate>
				<wikidot:authorName>andrewdoull</wikidot:authorName>				<wikidot:authorUserId>125736</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>Just to confirm what I mean: the include functionality needs to be explicitly documented on the template page. The hero examples listed to are great, but since I cannot edit these pages, I cannot see the source code required to implement it. And therefore there is no point linking to the examples.</p> <p>Andrew</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-165019</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-165019</link>
				<description></description>
				<pubDate>Sat, 17 May 2008 00:24:00 +0000</pubDate>
				<wikidot:authorName>andrewdoull</wikidot:authorName>				<wikidot:authorUserId>125736</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>Thanks for the replies. Its not clear anywhere in the basic documentation how to do includes as discussed in the links you've referred to - maybe that should be revised some how.</p> <p>Regards,</p> <p>Andrew Doull</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-161949</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-161949</link>
				<description></description>
				<pubDate>Mon, 12 May 2008 09:05:06 +0000</pubDate>
				<wikidot:authorName>Helmuti_pdorf</wikidot:authorName>				<wikidot:authorUserId>17609</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>about the question 3:<br /> Have a look on the discussion about a technic to do such tricky usages:</p> <p>[<a href="http://community.wikidot.com/forum/t-58403/if-then-else-conditionals" >http://community.wikidot.com/forum/t-58403/if-then-else-conditionals</a>]</p> <p>Another tricky discussions was here:</p> <p>[<a href="http://community.wikidot.com/forum/t-58448/invisible-parameters-in-infoboxes" >http://community.wikidot.com/forum/t-58448/invisible-parameters-in-infoboxes</a>]</p> <p>Hope i have understand your question…</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-161935</guid>
				<title>Re: Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-161935</link>
				<description></description>
				<pubDate>Mon, 12 May 2008 08:51:16 +0000</pubDate>
				<wikidot:authorName>Helmuti_pdorf</wikidot:authorName>				<wikidot:authorUserId>17609</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I do not understand all questions i think - but I will try to reply:</p> <p>1) use a specifi and clear "category" for such naming problems.</p> <p>Example: <strong>default:Ininity: The Quest for Earth</strong> this will create a page with the url:</p> <p>http://your-site-name.wikidot.com/default:infinity:the-quest-for-earth</p> <p>1.1) and change the title of the page to "Infinity: The Quest for Earth" - at the beginning only the partial name before the colon uis taken ( Infinity) …<br /> 1.2) every link (@[[[default:infinity:the-quest-for-earth]]]) should have the complete long name used..</p> <p>2) the broken URL :</p> <p>if you get problems with such special characters you have to specify the url with the %-sign and the (hex!- equivalent of ansi) chacracter-code instead of such special characters.<br /> Your Example:</p> <p>[*//http://en.wikipedia.org/wiki/Rogue_(computer_game) Rogue] will not work because of the "ending" brackets.</p> <p>test: [*//<a href="http://en.wikipedia.org/wiki/Rogue_(computer_game">http://en.wikipedia.org/wiki/Rogue_(computer_game</a>) Rogue]</p> <p>If you detect such unusable characters than you should replace the character ")" with "%29"</p> <p>[*http://en.wikipedia.org/wiki/Rogue_(computer_game%29 Rogue]</p> <p><a href="http://en.wikipedia.org/wiki/Rogue_(computer_game%29">Rogue</a></p> <p>3) I do not understand the question….</p> <p>4) redirects are normal in wkidot - search for it in the syntax or modules or solutions … only the problem you will get if you wnat to edit the redirected page itself - than you have to use the url adress with a specific namung convention.</p> <p>[<a href="http://www.wikidot.com/doc:redirect-module" >http://www.wikidot.com/doc:redirect-module</a>]</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-59041#post-161749</guid>
				<title>Broken URL types &amp; better templating</title>
				<link>http://community.wikidot.com/forum/t-59041/broken-url-types-better-templating#post-161749</link>
				<description></description>
				<pubDate>Sun, 11 May 2008 22:57:00 +0000</pubDate>
				<wikidot:authorName>andrewdoull</wikidot:authorName>				<wikidot:authorUserId>125736</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I've just started setting up a wiki and I've discovered several problems with the WikiDot syntax I haven't been able to resolve.</p> <p>1. If I want to create an entry that has a : in it (Such as 'Infinity: The Quest for Earth'), how do I escape this correctly without creating a new category.</p> <p>2. URL links containing a right bracket don't work e.g. linking to a wikipedia entry like [<a href="http://http://en.wikipedia.org/wiki/Rogue_(computer_game" >http://http://en.wikipedia.org/wiki/Rogue_(computer_game</a>) Rogue] breaks. How do I escape these (hint @@ doesn't work).</p> <p>3. The whole category/templating system feels very limited compared to MediaWiki. I don't want to have to rewrite an entry every time I create a template - I just want to specify variables that I can drop into the template. I also don't want to have to specify that an entry uses a template by forcing the entry to be game:Rogue everywhere I want to link to Rogue that happens to use the game template, it would be much easier to have to do this on the destination page, so I can just reference it as <a class="newpage" href="http://community.wikidot.com/rogue">Rogue</a> elsewhere.</p> <p>e.g. the MediaWiki equivalent is:</p> <p><tt>Infobox VG| title = The Elder Scrolls II: Daggerfall<br /> | image = [Cover art.gif|256px]<br /> | developer = [[Bethesda Softworks]]<br /> | publisher = Bethesda Softworks<br /> | designer =<br /> | series = ''[[The Elder Scrolls]]''<br /> | engine = [[XnGine]]<br /> | released = {{vgrelease|NA=[[August 31]], [[1996]]</tt><tt>vgrelease|EU=1996</tt><br /> | genre = First-person [[computer role-playing game]]<br /> | modes = [[Single player]]<br /> | ratings = [[ESRB]]: M<br /> | platforms = [[MS-DOS]]<br /> | media = [[CD-ROM]]<br /> | requirements =<br /> | input =<br /> }}</p> <p>4. How do you handle soft redirects e.g.<br /> The Elder Scrolls II: Daggerfall<br /> From Wikipedia, the free encyclopedia<br /> (Redirected from Daggerfall)</p> <p>Thanks in advance. There are other decisions that you guys have made that are completely on the money (Google Analytics integration being one).</p> <p>Andrew</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>