<?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>Comments for page &quot;10 - Cross-site includes (CSI)&quot;</title>
		<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi</link>
		<description>Posts in the discussion thread &quot;10 - Cross-site includes (CSI)&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Tue, 09 Jun 2026 03:18:30 +0000</lastBuildDate>
		
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-620762</guid>
				<title>(no title)</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-620762</link>
				<description></description>
				<pubDate>Fri, 30 Oct 2009 13:00:43 +0000</pubDate>
				<wikidot:authorName>GoVegan</wikidot:authorName>				<wikidot:authorUserId>35113</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>why not<br /> [[include :modules:include:2 dummy-text-not-be-parsed]]</p> </blockquote> <p>Low and behold, we have another genius!</p> <p>Thanks gerdami!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-620752</guid>
				<title>(no title)</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-620752</link>
				<description></description>
				<pubDate>Fri, 30 Oct 2009 12:53:44 +0000</pubDate>
				<wikidot:authorName>gerdami</wikidot:authorName>				<wikidot:authorUserId>3370</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>[[include :modules:include:2]] is fine but after some weeks &#8230; what's inside ?<br /> Yes I could prepend a comment line but why not<br /> [[include :modules:include:2 dummy-text-not-be-parsed]]<br /> example<br /> [[include :modules:include:2 &#8230; including modules quick reference]]</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-620154</guid>
				<title>(no title)</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-620154</link>
				<description></description>
				<pubDate>Thu, 29 Oct 2009 17:19:24 +0000</pubDate>
				<wikidot:authorName>suef</wikidot:authorName>				<wikidot:authorUserId>383694</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This might not always be desirable, but it might be handy if you could choose to specify the page title for the included page in the <span style="white-space: pre-wrap;">[[include]]</span> statement.</p> <p>If you have designed a whole page to be included somewhere, it may be desirable that the page title is inherited along with the code on the page. Otherwise, you would have to manually add a title to all sites that included the page if you wanted the title to be consistent across sites. Of course there would be other situations when you didn't want this behaviour, so you should be able to switch it on/off.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594867</guid>
				<title>Re:</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594867</link>
				<description></description>
				<pubDate>Sun, 27 Sep 2009 18:13:18 +0000</pubDate>
				<wikidot:authorName>Gabrys</wikidot:authorName>				<wikidot:authorUserId>2462</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>OK. We can make ultimate reusable code blocks (URCB) later.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594804</guid>
				<title>(no title)</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594804</link>
				<description></description>
				<pubDate>Sun, 27 Sep 2009 16:13:46 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>I suggest %%arg{name}|default%% (consistent with tags_linked).</p> </blockquote> <p>Please read <a href="http://blog.wikidot.com/design:12">http://blog.wikidot.com/design:12</a>. The use of ? for default values is established there, and | is already used for formatting. You should be able to mix the two, so %%name?default|format%%.</p> <p>You say &quot;multi-line defaults and defaults containing '%%' (which can be really useful for ListPages wrappers).&quot;, please give an example. I do not see any requirement today for either of these.</p> <p>And I'm trying to avoid making an &quot;ultimate&quot; include here. The original goal was CSI, not &quot;fix every possible problem with include&quot;, so please let's stay within what is needed and possible. Stretching designs to cover every single possible idea just guarantees they will never be implemented.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594762</guid>
				<title>Re:</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594762</link>
				<description></description>
				<pubDate>Sun, 27 Sep 2009 14:36:51 +0000</pubDate>
				<wikidot:authorName>Gabrys</wikidot:authorName>				<wikidot:authorUserId>2462</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>For allowing code to be generated by one tool and formated by a second, can you provide a concrete example or use case?</p> </blockquote> <div class="code"> <pre><code>[[include includes/block:blog-listing category=&quot;blog&quot;]] ==== post-format [[include includes/format:tech-blog-post /]] ==== calendar-format [[include includes/format:red-calendar /]] [[/include]]</code></pre></div> <p>We would have repository of reusable blocks (includes/block:) and a repository for reusable formats (includes/format:). This allows us to use the same formats in different blocks (in case, you want to have one format of &quot;item&quot; in each different listing). This is one of possible uses for nested includes. I think there will be more. But as we already have include-open and include-close tags in the design, this can come later.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594759</guid>
				<title>(no title)</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594759</link>
				<description></description>
				<pubDate>Sun, 27 Sep 2009 14:31:19 +0000</pubDate>
				<wikidot:authorName>Gabrys</wikidot:authorName>				<wikidot:authorUserId>2462</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>All arguments can be given default values by using this syntax: %%arg{name}?default%%. This matches the proposed syntax for default values in ListPages and _templates.</p> </blockquote> <p>I suggest %%arg{name}|default%% (consistent with tags_linked).</p> <p>But. There is a problem with multi-line defaults and defaults containing '%%' (which can be really useful for ListPages wrappers).</p> <p>I would say, we need to make include'able blocks more aware of their role. First list possible arguments with their defaults, then goes the include code (similarly to function definition and body). Such blocks are <em>made</em> to be included.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594702</guid>
				<title>(no title)</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594702</link>
				<description></description>
				<pubDate>Sun, 27 Sep 2009 12:23:10 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I've made a generic design for multiline arguments that takes your ideas along with some that were proposed on the community, for named sections. See <a href="http://blog.wikidot.com/design:17">design:17</a>. This would work, I think (we need to be sure that it is safe to use in code that itself sits within sections).</p> <p><span style="text-decoration: line-through;">Currently the use of two syntaxes makes this distinction. If you merge the two syntaxes, how do you do it?</span> my mistake: you already explained how to do this.</p> <p>For allowing code to be generated by one tool and formated by a second, can you provide a concrete example or use case?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594623</guid>
				<title>(no title)</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594623</link>
				<description></description>
				<pubDate>Sun, 27 Sep 2009 08:54:08 +0000</pubDate>
				<wikidot:authorName>Gabrys</wikidot:authorName>				<wikidot:authorUserId>2462</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I think we need full multi-line parameters for CSIs (original include multi-line parameters can't contain &quot;|&quot; unless some tricks are applied).</p> <p>I think we need includes to be nestable in a way, that include output can be passed as include parameter (this would allow having repository of not only code that does thing, but also repository of formatting code).</p> <p>I think we need to name variables consistently, so we should use %%something%% just like in _template and ListPages and not {$something}. This also will ease creation of unified templating code in Wikidot.</p> <p>I would love to do <em>something</em> like this:</p> <div class="code"> <pre><code>[[include includes.wikidot.com/blog-listing category=&quot;blog&quot;]] [[include formats.wikidot.com/tech-blog-post /]] ==== [[include formats.wikidot.com/red-calendar /]] [[/include]]</code></pre></div> <p>The outside include would generate blog post listing for me taking a format for blog post as first multi-line parameter and format for calendar for second multi-line parameter. Formats would be able to be included from other site.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594572</guid>
				<title>Re:</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594572</link>
				<description></description>
				<pubDate>Sun, 27 Sep 2009 06:14:01 +0000</pubDate>
				<wikidot:authorName>GoVegan</wikidot:authorName>				<wikidot:authorUserId>35113</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Oh sorry, I was talking about the current situation. prependLine and appendLine (acting as the header and footer) appear regardless of whether any pages match the ListPages criteria.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594513</guid>
				<title>Re: system:page-manager</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594513</link>
				<description></description>
				<pubDate>Sun, 27 Sep 2009 01:53:41 +0000</pubDate>
				<wikidot:authorName>leiger</wikidot:authorName>				<wikidot:authorUserId>32953</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>One word. Wow.</p> <p>Almost forgot I was meant to be looking at the table styling, not the page manager itself :)</p> <p>What is the column after &quot;Edits&quot; and before &quot;Tags&quot; ? It has no title.</p> <p>edit: Nevermind, it is the edit column. Titles aren't lined up properly.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594377</guid>
				<title>Re:</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594377</link>
				<description></description>
				<pubDate>Sat, 26 Sep 2009 21:00:34 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>OK, here is a work in progress: <a href="http://forum.wikidot.com/system:page-manager">http://forum.wikidot.com/system:page-manager</a></p> <p>It's a concept for a page manager, still needs a bunch of changes to ListPages to work properly.</p> <p>But you can see how it does table styling. It would work even better with a CSS module but in fact the table styling is pretty elegant for table layouts used elsewhere in the site as well.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594245</guid>
				<title>Re:</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594245</link>
				<description></description>
				<pubDate>Sat, 26 Sep 2009 17:49:33 +0000</pubDate>
				<wikidot:authorName>leiger</wikidot:authorName>				<wikidot:authorUserId>32953</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Do you have a link we could look at ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594151</guid>
				<title>Re:</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594151</link>
				<description></description>
				<pubDate>Sat, 26 Sep 2009 15:38:35 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Regarding table styling, what will work quite easily is <tt>prependLine=&quot;[[table]] appendLine=&quot;[[/table]]&quot;</tt> and a CSS module in the page that provides styling for tables. I've tried this (not per-page CSS but per-site CSS) and it gives nice results.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594150</guid>
				<title>(no title)</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594150</link>
				<description></description>
				<pubDate>Sat, 26 Sep 2009 15:37:08 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>But this is not true! The header/footer appears regardless of the content within! It's a bit annoying, actually…</p> </blockquote> <p>I'm not sure what you mean by this since the header/footer idea is a design proposal, not implemented yet. The idea is that if the list is empty (zero items), these do not show.</p> <p>Actually, there should be two further blocks, page-header and page-footer.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594036</guid>
				<title>Re:</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594036</link>
				<description></description>
				<pubDate>Sat, 26 Sep 2009 11:20:46 +0000</pubDate>
				<wikidot:authorName>GoVegan</wikidot:authorName>				<wikidot:authorUserId>35113</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>The header/footer need to be controlled by the List module because they only appear when there is at least one item.</p> </blockquote> <p>But this is not true! The header/footer appears regardless of the content within! It's a bit annoying, actually&#8230;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-594022</guid>
				<title>(no title)</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-594022</link>
				<description></description>
				<pubDate>Sat, 26 Sep 2009 10:53:53 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Historically all modules were in divs and acted as mini applications. This approach was used for ListPages. We don't really like it, and have been looking at making modules work in-line.</p> <p>The header/footer need to be controlled by the List module because they only appear when there is at least one item. Empty lists should show as empty, in most cases. Also, you often want to add things into the footer like counts, totals, etc.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-593963</guid>
				<title>Re:</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-593963</link>
				<description></description>
				<pubDate>Sat, 26 Sep 2009 08:48:21 +0000</pubDate>
				<wikidot:authorName>GoVegan</wikidot:authorName>				<wikidot:authorUserId>35113</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have to ask, why is the ListPages module in a div to begin with?</p> <div class="code"> <pre><code>Header stuff [[module ListPages …]] list pages stuff [[/module]] Footer stuff</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-593461</guid>
				<title>(no title)</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-593461</link>
				<description></description>
				<pubDate>Fri, 25 Sep 2009 16:45:27 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Kanjo said:</p> <blockquote> <p>You see, the following is not possible:<br /> <span style="white-space: pre-wrap;">{{[[module&#32;ListPages&#32;prependLine=&quot;[[table&#32;class=&quot;food&quot;&#32;style=&quot;background-color:&#32;red;&quot;]]&quot;&#32;appendLine=&quot;[[/row]][[/table]]&quot;]]}}</span></p> </blockquote> <p>Indeed. Yet that is what we want to do - creating an include to get around the lack of a quote escape is costly. All arguments should allow quote escaping. But I don't like the prependLine and appendLine design at all (and would have vetoed it if I was watching when it was built).</p> <p>The correct design for ListPages should be something like:</p> <div class="code"> <pre><code>[[module ListPages ...]] [[header]] Put stuff that appears before the first item. [[/header]] [[footer]] Put stuff that appears after the last item. [[/footer]] [[else]] Put stuff that appears if there are zero items. [[/else]] [[/module]]</code></pre></div> <p>And 'separate' should always be false, since we can put [[div]]s around items if we want to. This is the design I'll be pushing when we start to make other List modules.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-592518</guid>
				<title>Re: Variables?</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-592518</link>
				<description></description>
				<pubDate>Thu, 24 Sep 2009 16:23:32 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>What is {number} for?</p> </blockquote> <p>To select content sections or code blocks. I've clarified the text.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-592513</guid>
				<title>Re: Variables?</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-592513</link>
				<description></description>
				<pubDate>Thu, 24 Sep 2009 16:15:10 +0000</pubDate>
				<wikidot:authorName>Brunhilda</wikidot:authorName>				<wikidot:authorUserId>91730</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>What is {number} for?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-586806</guid>
				<title>Re: Variables?</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-586806</link>
				<description></description>
				<pubDate>Thu, 17 Sep 2009 12:06:52 +0000</pubDate>
				<wikidot:authorName>GoVegan</wikidot:authorName>				<wikidot:authorUserId>35113</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yeah that's much shorter — but like you said, not reusable.</p> <p>BTW, That is such a simple, yet clean and sexy looking table! My jaw dropped it was so beautiful!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-586690</guid>
				<title>Re: Variables?</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-586690</link>
				<description></description>
				<pubDate>Thu, 17 Sep 2009 08:36:17 +0000</pubDate>
				<wikidot:authorName>gerdami</wikidot:authorName>				<wikidot:authorUserId>3370</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>@James<br /> I used to use your technique of the reusable included table.<br /> However, for now I prefer shorter ListPages instructions</p> <div class="code"> <pre><code>[[module ListPages separate=&quot;false&quot;_ prependLine=&quot;[[include include:raw-list-table-header]]&quot; appendLine=&quot;[[/table]]&quot; ]] [[row style=&quot;vertical-align:top; &quot;]] [[cell]]%%linked_title%%[[/cell]] [[cell]]%%created_by_linked%%[[/cell]] [[/row]] [[/module]]</code></pre></div> <br /> and of course a <strong>one shot</strong> include:raw-list-table-header.<br /> Balance sometimes weighs on the simplicity side&#8230; <p>Example taken from: <a href="http://themes.wikidot.com/start:plain">http://themes.wikidot.com/start:plain</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-586628</guid>
				<title>Re: Variables?</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-586628</link>
				<description></description>
				<pubDate>Thu, 17 Sep 2009 05:13:57 +0000</pubDate>
				<wikidot:authorName>leiger</wikidot:authorName>				<wikidot:authorUserId>32953</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>In reference to James' post</p> <blockquote> <p><strong>pieterh wrote:</strong><br /> The non-quote version came from wikimedia, apparently. <em>Yes, we keep old syntax for compatibility.</em></p> </blockquote> <p>This is all well and good, but following in James' line of thought, I suppose that any <em>new attributes</em> added to the <span style="white-space: pre-wrap;">[[include&#32;...]]</span> documentation will <strong>not</strong> support the unquoted version?</p> <p>Continued support for both quoted and un-quoted versions of variables for <span style="white-space: pre-wrap;">[[include&#32;...]]</span> would be useful for the reason outlined by James, above.<br /> i.e. With any new attributes that are introduced (including those that are for CSIs<sup class="footnoteref"><a id="footnoteref-73234-1" href="javascript:;" class="footnoteref" >1</a></sup>), the unquoted version should also be supported.</p> <p><em>edit: that wasn't exactly as clear as I'd like it to be, but it's better than my original post. let me know if you want me to re-explain what I meant here</em></p> <div class="footnotes-footer"> <div class="title">Footnotes</div> <div class="footnote-footer" id="footnote-73234-1"><a href="javascript:;" >1</a>. Cross-site Includes</div> </div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-586426</guid>
				<title>Re: Variables?</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-586426</link>
				<description></description>
				<pubDate>Wed, 16 Sep 2009 23:26:30 +0000</pubDate>
				<wikidot:authorName>GoVegan</wikidot:authorName>				<wikidot:authorUserId>35113</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The good thing about the current, non-quote-required, model is that you can use an include in a ListPages module's prependLine:</p> <div class="code"> <pre><code>[[module ListPages prependLine=&quot;[[include table class=food |style=background-color: red;]]&quot; appendLine=&quot;[[/row]][[/table]]&quot;]]</code></pre></div> <br /> This allows the use of a table surrounding the module's content, as the table's page contains: <div class="code"> <pre><code>[[table class=&quot;{$class}&quot; style=&quot;{$style}&quot;]][[row]]</code></pre></div> <br /> Which makes it possible to set attributes to the table. <hr /> <p>You see, the following is not possible:</p> <div class="code"> <pre><code>[[module ListPages prependLine=&quot;[[table class=&quot;food&quot; style=&quot;background-color: red;&quot;]]&quot; appendLine=&quot;[[/row]][[/table]]&quot;]]</code></pre></div> <br /> It's not possible because the first double-quote used within the prependLine is interpreted as the completing double quote of prependLine. That is, the prependLine is essentially <tt>[[table class=</tt> <p>If you made includes require double quotes for variables, then we would be approached with the above problem, and thus unable to create custom tables within the ListPages module.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-586090</guid>
				<title>Re: Variables?</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-586090</link>
				<description></description>
				<pubDate>Wed, 16 Sep 2009 15:33:14 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The non-quote version came from wikimedia, apparently. Yes, we keep old syntax for compatibility.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-586068</guid>
				<title>Re: Variables?</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-586068</link>
				<description></description>
				<pubDate>Wed, 16 Sep 2009 15:13:00 +0000</pubDate>
				<wikidot:authorName>leiger</wikidot:authorName>				<wikidot:authorUserId>32953</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Ahh, I know what you mean. I'd never actually used them before, only seen glimpses of them with things that James and other guru's had created.</p> <p>Having begun using them in one of my own websites yesterday, I've learnt quite a bit about them already. I agree, quotes would be more consistent.</p> <p>I assume the non-quote version will be supported for backwards-compatibility?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-585155</guid>
				<title>Re: Variables?</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-585155</link>
				<description></description>
				<pubDate>Tue, 15 Sep 2009 15:38:13 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Variables are exactly the same as currently used in [[include]], just properly formatted with quotes.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://blog.wikidot.com/forum/t-180839#post-585121</guid>
				<title>Variables?</title>
				<link>http://blog.wikidot.com/forum/t-180839/10-cross-site-includes-csi#post-585121</link>
				<description></description>
				<pubDate>Tue, 15 Sep 2009 15:07:24 +0000</pubDate>
				<wikidot:authorName>leiger</wikidot:authorName>				<wikidot:authorUserId>32953</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>What would be an example of one of the variables? Would height/width be in there? My impression is that this acts as a standard include and doesn't create a frame, so I think not.</p> <p>So what would be worth controlling as a variable? =/</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>