“帮助:横幅”的版本间差异

删除62字节 、​ 2021年10月17日 (日) 12:49
无编辑摘要
第2行: 第2行:
There are a few different ways to set a banner image on a page:
There are a few different ways to set a banner image on a page:


#  To use <tvar|1><code>File:Image_name.jpg</code></> as a custom banner image, set it on the page:</translate> <code><nowiki>{{PAGEBANNER:Image_name.jpg}}</nowiki></code>
#  To use <code>File:Image_name.jpg</code></> as a custom banner image, set it on the page:</translate> <code><nowiki>{{PAGEBANNER:Image_name.jpg}}</nowiki></code>
#  The extension can automatically add the same banner image to all pages of specified namespaces, set via the <tvar|1><code>$wgWPBImage</code></> [[<tvar|2>#config</>|configuration variable]].
#  The extension can automatically add the same banner image to all pages of specified namespaces, set via the <code>$wgWPBImage</code></>  
#  
#  
If the wiki is connected to Wikidata, it can also fetch each page's banner from there.
If the wiki is connected to Wikidata, it can also fetch each page's banner from there.