Template:End/doc

From Interstellar War Wiki
Jump to navigationJump to search

{{#ifeq: doc | doc

 | 	

{{

   #ifeq: show | show	
   | {{#invoke:Message box|mbox}}	
   }}{{
   #if: 
   | 
   | {{#ifexist:Template:End|[[Category:{{	
     #switch: Template	
     | Template  = Template
     | Module    = Module
     | User      = User	
     | #default  = Wikidata
   }} documentation pages]]|}}	
 }}	

| }}

Usage

This template ends any table (with bar-brace "|}") and may be used with any other templates that begin a one-level table, except with template {{Top}} & {{Mid}} which require {{Bottom}} to end a Top-table (which has a double-level format).

Severe limitations

WARNING: Template {{{{#if:|subst:}}{{#ifeq:e|:|:End|{{#switch:||Template=End|File|Category=end|#default=end}}}}{{#ifeq:x|{{{2}}}||{{{2}}}}}{{#ifeq:x|{{{3}}}||{{{3}}}}}{{#ifeq:x|{{{4}}}||{{{4}}}}}{{#ifeq:x|{{{5}}}||{{{5}}}}}{{#ifeq:x|{{{6}}}||{{{6}}}}}{{#ifeq:x|{{{7}}}||{{{7}}}}}{{#ifeq:x|{{{8}}}||{{{8}}}}}{{#ifeq:x|{{{9}}}||{{{9}}}}}{{#ifeq:x|{{{10}}}||{{{10}}}}}}} must be placed on a separate line for ending a table; otherwise, it inserts a literal bar-brace "|}" into the text.