标签: 模版

  • mediawiki系统模版调用及参数

    Mediawiki
    Mediawiki

    在mediawiki的页面中可以展示一个来自于某个“特殊页面”的词条列表

    操作步骤

    • 浏览那个你想添加某个特殊页面词条内容的页面,然后点击“编辑”
    • 如果你正在“阅读”模式,选择点击“编辑”,进入代码的编辑模式
    • 输入那个你想添加词条内容的特殊页面的模板代码,可以参考下面的内容。例如,你想展示最近的三次编辑,可以输入下面的代码)
    • {{Special:RecentChanges/3}}
      
    • 点击“保存”。

    New Pages(新的页面)

    {{Special:NewPages/5}}
    

    Five newest pages

    最近新建的五个页面

    {{Special:NewPages/namespace=Forum,5}}
    

    Five newest pages in the Forum namespace

    命名空间为“论坛”的5个新建页面

    {{Special:NewPages/limit=7,offset=10,shownav}}
    

    Seven newest pages not including the last 10 pages, plus some navigation

    Wanted Pages(需要编写的页面)

    {{Special:WantedPages/5}}
    

    Five most wanted pages

    五个最需要编写的页面

    Recent Changes(最近的编辑)

    {{Special:RecentChanges/5}}
    

    Five latest edits

    无此最近的编辑

    {{Special:RecentChanges/hideminor,3}}
    

    Three latest edits, not including minor edits

    三次最近的编辑,除去小修改

    {{Special:RecentChanges/hideliu,3}}
    

    Three latest edits, not including those from logged in users

    三次最近的编辑,除去登陆用户的

    {{Special:RecentChanges/hideanons,3}}
    

    Three latest edits, not including those from anonymous users

    三次最近的编辑,除去匿名用户的

    {{Special:RecentChanges/hidebots=1,3}}
    

    Three latest edits, not including those from bots

    三次最近的编辑,除去机器人的

    {{Special:RecentChanges/hidemyself,3}}
    

    Three latest edits, not including those from the user viewing the page

    三次最近的编辑,除去用户正在浏览的页面

    {{Special:RecentChanges/hidepatrolled,3}}
    

    Three latest unpatrolled edits

    {{Special:RecentChanges/days=2}}
    

    Edits from the last two days

    最近两天的编辑

    PrefixIndex(前缀索引)

    {{Special:PrefixIndex/E}}
    

    All pages starting with the letter E

    所有页面,从字母E开始排列

    All Pages(所有页面)

    {{Special:AllPages/Wikia}}
    

    All pages, listed alphabetically, starting from the “Wikia” article

    所有页面,按照首字母顺序排列,从wikia开始