The Wiki for Tale 6 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Template:!"

From ATITD6
Jump to navigationJump to search
m (sort key)
 
(Created page with "|<noinclude> =Usage= On the mediawiki help files & manuals I was looking for a way to do more interesting things with tables. I came across [http://meta.wikimedia.org/wiki/Templa...")
Line 1: Line 1:
|<noinclude>[[Category:Workaround templates|{{PAGENAME}}]]</noinclude>
+
|<noinclude>
 +
=Usage=
 +
On the mediawiki help files & manuals I was looking for a way to do more interesting things with tables. I came across [http://meta.wikimedia.org/wiki/Template:Table_example_with_optional_row Table Example with Optional Row] which looked promising. In trying to get it to work, I finally realized that this was a bit of a work-around & not clearly explained. The <code><nowiki>{{!}}</nowiki></code> that they were using was actually a template that consisted of <code><nowiki>|</nowiki></code>
 +
 
 +
Since this template didn't exist in atitd wiki yet, it wasn't working. So now it does and will work like in the example template on wikimedia.org
 +
 
 +
This template allows for use of <code><nowiki>{{!}}</nowiki></code> to add the wiki-markup of <code><nowiki>|</nowiki></code> (pipe) as used in tables, links, etc into [http://semantic-mediawiki.org/wiki/Help:Inline_queries inline queries]. Since that's what I was working on, that's why I'm creating this template.
 +
 
 +
[[Category:Template]]
 +
</noinclude>

Revision as of 14:04, 7 August 2010

|

Usage

On the mediawiki help files & manuals I was looking for a way to do more interesting things with tables. I came across Table Example with Optional Row which looked promising. In trying to get it to work, I finally realized that this was a bit of a work-around & not clearly explained. The {{!}} that they were using was actually a template that consisted of |

Since this template didn't exist in atitd wiki yet, it wasn't working. So now it does and will work like in the example template on wikimedia.org

This template allows for use of {{!}} to add the wiki-markup of | (pipe) as used in tables, links, etc into inline queries. Since that's what I was working on, that's why I'm creating this template.