个人工具

模板:Database/portalPreview/help

出自Meshal Lite

跳转到: 导航, 搜索
 
第3行: 第3行:
 
<!--在这里给出本模板支持的参数,如果参数本身有固定序号,则用[编号]标注在参数之前,比如“[1] name”表示name参数可默认填写在模板的第一位-->
 
<!--在这里给出本模板支持的参数,如果参数本身有固定序号,则用[编号]标注在参数之前,比如“[1] name”表示name参数可默认填写在模板的第一位-->
 
<source lang="text">
 
<source lang="text">
{{databasePortal|
+
{{database/portalPreview|
 
   |[1] ico=<race | gender | size | ...>
 
   |[1] ico=<race | gender | size | ...>
 
   |[2] title=  
 
   |[2] title=  
第12行: 第12行:
 
   |[7] category4=
 
   |[7] category4=
 
   |[8] category5=
 
   |[8] category5=
   |[9] category6=
+
   |notcat1=
   |[10] setting=
+
  |notcat2=
 +
  |notcat3=
 +
  |notcat4=
 +
  |notcat5=
 +
  |notcat6=
 +
   |setting=
 +
  |subpage=<true | false>
 
   |count=12
 
   |count=12
 
}}
 
}}
第31行: 第37行:
 
}}
 
}}
  
{{block|<code>4</code> category1、<code>5</code> category2、<code>6</code> category3、<code>7</code> category4、<code>8</code> category5、<code>9</code> category6|
+
{{block|<code>4</code> category1、<code>5</code> category2、<code>6</code> category3、<code>7</code> category4、<code>8</code> category5|
 
限定查询条目所属的分类,这些参数是“与(AND)”关系。
 
限定查询条目所属的分类,这些参数是“与(AND)”关系。
 
}}
 
}}
  
{{block|<code>10</code> setting|
+
{{block|notcat1、notcat2、notcat3、notcat4、notcat5、notcat6|
 +
限定查询条件排除的分类,这些参数是“或(OR)”关系。
 +
}}
 +
 
 +
{{block|setting|
 
限定查询条目所属的世界设定,如果留空,则查询所有世界设定。通常写作如:<code>世界设定-经典</code>。
 
限定查询条目所属的世界设定,如果留空,则查询所有世界设定。通常写作如:<code>世界设定-经典</code>。
 +
}}
 +
 +
{{block|subpage|
 +
是否查询子页面。设为<code>true</code>将在查询结果中包含子页面;设为<code>false</code>将不包含。
 +
*默认为<code>false</code>
 
}}
 
}}
  

在2020年6月9日 (二) 15:34的最新修订版本