The Wiki for Tale 4 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 A Tale in the Desert
Jump to navigationJump to search
(allows for inclusion of pipe into inline queries - this allows you to generate table cells based on the result of that query)
 
m (including in template category)
 
Line 6: Line 6:
  
 
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.
 
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>
 
</noinclude>

Latest revision as of 14:56, 16 February 2009

|

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.