Xtag

来自广财百科
跳到导航 跳到搜索

{{#switch:pair

|c|close  = 
|s|single
|o|open
|p|pair   = <{{#switch:
|categorytree=categorytree
|charinsert=charinsert
|gallery=gallery
|hiero=hiero
|imagemap=imagemap
|inputbox=inputbox
|math=math
|nowiki=nowiki
|poem=poem
|pre=pre
|ref=ref
|references=references
|section=section
|score=score
|source=source
|syntaxhighlight=syntaxhighlight
|templatedata=templatedata
|timeline=timeline
|#default=tag

}}{{#if:| {{{params}}}}} }}{{#switch:open

|c|close  = 
|s|single =  />
|o|open   = >
|p|pair   = >……

}}{{#switch:open

|s|single
|o|open   = 
|c|close
|p|pair   = </tag>

}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#if:| [[Category:Template documentation pages{{#translation:}}]] }}