模板:Infobox election/shortname

出自微國家百科
-{zh-cn:文档; zh-tw:文件;}-图示 模板文件

This is a subtemplate of {{Infobox election}}, it should not be used directly.

Purpose

This subtemplate takes two inputs, name and link. If link is set to no, then it returns the value of name verbatim. Otherwise, if the corresponding 模板:Tld template exists, it returns [[{{{name}}}|shortname]] where shortname is the output of the 模板:Tld template. If this template does not exist, it returns the value of name verbatim.