跳转到内容

Template:Infobox election/shortname

出自维基百科,自由个百科全书
文檔圖標 模板文檔

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 {{{{{name}}}/meta/shortname}} template exists, it returns [[{{{name}}}|shortname]] where shortname is the output of the {{{{{name}}}/meta/shortname}} template. If this template does not exist, it returns the value of name verbatim.