模板:首页/左栏:修订间差异

无编辑摘要
标签已被回退
无编辑摘要
 
(未显示2个用户的19个中间版本)
第2行: 第2行:
{{面包屑}}
{{面包屑}}
</noinclude>
</noinclude>
<div class="mod px-4 py-2.5 mb-5 border border-neutral-300 border-solid rounded bg-white">
<div class="mod px-4 py-2.5 mb-5 border border-neutral-300 border-solid rounded bg-white">
   <div class="mod-hd mb-2.5">
   <div class="mod-hd mb-2.5">
第12行: 第11行:
|where=文章.标签='公告'
|where=文章.标签='公告'
|fields=_pageName=Title,标题,标签
|fields=_pageName=Title,标题,标签
|limit=5
|limit=10
|template=首页左侧边栏文章链接
|template=首页左侧边栏文章链接
|format=template
|format=template
|named args=yes
|named args=yes
|more results text=<span>更多</span>
|order by=文章._rowID DESC
|more results text=
}}</div>
}}</div>
   <div class="mod-ft text-right">[[:分类:公告文章|<span class="text-blue-500 visited:text-neutral-800 hover:text-blue-700 visited:text-blue-500">更多...</span>]]</div>
   <div class="mod-ft text-right">[[:分类:公告文章|<span class="text-blue-500 visited:text-neutral-800 hover:text-blue-700 visited:text-blue-500">更多...</span>]]</div>
</div>
</div>
<div class="mod px-4 py-2.5 mb-5 border border-neutral-300 border-solid rounded bg-white">
<div class="mod px-4 py-2.5 mb-5 border border-neutral-300 border-solid rounded bg-white">
   <div class="mod-hd mb-2.5">
   <div class="mod-hd mb-2.5">
     <div class="tit flex items-center font-black text-lg text-gray-900">[[File:Icon1.png|class=w-4 h-4 mr-2.5|link=]]游戏攻略</div>
     <div class="tit flex items-center font-black text-lg text-gray-900">[[File:Icon1.png|class=w-4 h-4 mr-2.5|link=]]游戏攻略</div>
   </div>
   </div>
   <div class="mod-bd">
   <div class="mod-bd"> {{#cargo_query: tables=文章 |where=文章.标签='攻略' |fields=_pageName=Title,标题,标签 |limit=20 |template=首页左侧边栏文章链接 |format=template |named args=yes |more results text= }}</div>
    <div class="item flex mb-2.5 text-sm items-center">
   <div class="mod-ft text-right">[[:分类:攻略文章|<span class="text-blue-500 visited:text-neutral-800 hover:text-blue-700 visited:text-blue-500">更多...</span>]]</div>
      <div class="rounded bg-emerald-500 grow-0 shrink-0 text-white px-1.5 py-1 w-v mr-2">攻略</div>
      <div class="text-neutral-800 hover:underline visited:!text-neutral-800 visited:!text-neutral-800"">{{黑色链接|2009己丑年春节任务(怀旧版)}}</div>
    </div>
    <div class="item flex mb-2.5 text-sm items-center">
      <div class="rounded bg-violet-400 grow-0 shrink-0 text-white px-1.5 py-1 w-v mr-2">教程</div>
      <div class="text-neutral-800 hover:underline visited:!text-neutral-800 visited:!text-neutral-800"">{{黑色链接|2009己丑年春节任务(怀旧版)}}</div>
    </div>
    <div class="item flex mb-2.5 text-sm items-center">
      <div class="rounded bg-emerald-500 grow-0 shrink-0 text-white px-1.5 py-1 w-v mr-2">攻略</div>
      <div class="text-neutral-800 hover:underline visited:!text-neutral-800 visited:!text-neutral-800"">{{黑色链接|2009己丑年春节任务(怀旧版)}}</div>
    </div>
    <div class="item flex mb-2.5 text-sm items-center">
      <div class="rounded bg-violet-400 grow-0 shrink-0 text-white px-1.5 py-1 w-v mr-2">教程</div>
      <div class="text-neutral-800 hover:underline visited:!text-neutral-800 visited:!text-neutral-800"">{{黑色链接|2009己丑年春节任务(怀旧版)}}</div>
    </div>
    <div class="item flex mb-2.5 text-sm items-center">
      <div class="rounded bg-red-500 grow-0 shrink-0 text-white px-1.5 py-1 w-v mr-2">公告</div>
      <div class="text-neutral-800 hover:underline visited:!text-neutral-800 visited:!text-neutral-800"">{{黑色链接|2009己丑年春节任务(怀旧版)}}</div>
    </div>
  </div>
   <div class="mod-ft text-right">[[:分类:任务|<span class="text-blue-500 visited:text-neutral-800 hover:text-blue-700 visited:text-blue-500">更多...</span>]]</div>
</div>
</div>
 
<a link="创建文章" class="flex items-center justify-center w-full h-9 rounded !bg-gray-700 !text-neutral-300 hover:!bg-gray-900 visited:!text-neutral-300 hover:!no-underline"><span class="icon-plus block w-0.5 h-3 bg-yellow-400 relative mr-2"><i class="absolute h-0.5 w-3 bg-yellow-400 left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"></i></span>创建文章</a>
<a link="创建文章" class="flex items-center justify-center w-full h-9 rounded !bg-gray-700 !text-neutral-300 hover:!bg-gray-900 visited:!text-neutral-300 hover:!no-underline"><span class="icon-plus block w-0.5 h-3 bg-yellow-400 relative mr-2"><i class="absolute h-0.5 w-3 bg-yellow-400 left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"></i></span>创建文章</a>

2024年3月4日 (一) 14:31的最新版本