今天是2024年11月25日 第48周 星期一

代人,时大变了。

我们生活在大地上,但我们的梦想超越天空。

“Template:FromOther/doc”的版本间的差异

来自Akarin
跳到导航 跳到搜索
enmgp>公的驱逐舰
enmgp>公的驱逐舰
(Bug workaround for document-transclude)
第2行: 第2行:
 
==Syntax==
 
==Syntax==
 
*You may simply use <code><nowiki>{{FromOther}}</nowiki></code>: 
 
*You may simply use <code><nowiki>{{FromOther}}</nowiki></code>: 
:{{FromOther}}
+
{{FromOther}}
 
*To notify from which site is the page is from, use <code><nowiki>{{FromOther|name of wiki}}</nowiki></code>. For example, <code><nowiki>{{FromOther|Wikipedia}}</nowiki></code> yields:
 
*To notify from which site is the page is from, use <code><nowiki>{{FromOther|name of wiki}}</nowiki></code>. For example, <code><nowiki>{{FromOther|Wikipedia}}</nowiki></code> yields:
:{{FromOther|Wikipedia}}
+
{{FromOther|Wikipedia}}
 
*You should also provide the link to the exact page: <code><nowiki>{{FromOther|Chinese Moe Girl Pedia|[https://zh.moegirl.org/Template:Info Template:Info]}}</nowiki></code> yields
 
*You should also provide the link to the exact page: <code><nowiki>{{FromOther|Chinese Moe Girl Pedia|[https://zh.moegirl.org/Template:Info Template:Info]}}</nowiki></code> yields
:{{FromOther|Chinese Moe Girl Pedia|[https://zh.moegirl.org/Template:Info Template:Info]}}
+
{{FromOther|Chinese Moe Girl Pedia|[https://zh.moegirl.org/Template:Info Template:Info]}}
 
*Use <code>|sect=sect</code>to mark a section instead of the entire page. <code><nowiki>{{FromOther|sect=sect|Chinese Moe Girl Pedia|[https://zh.moegirl.org/博丽灵梦#基本资料 博丽灵梦#基本资料]}}</nowiki></code> yields
 
*Use <code>|sect=sect</code>to mark a section instead of the entire page. <code><nowiki>{{FromOther|sect=sect|Chinese Moe Girl Pedia|[https://zh.moegirl.org/博丽灵梦#基本资料 博丽灵梦#基本资料]}}</nowiki></code> yields
:{{FromOther|sect=sect|Chinese Moe Girl Pedia|[https://zh.moegirl.org/博丽灵梦#基本资料 博丽灵梦#基本资料]}}
+
{{FromOther|sect=sect|Chinese Moe Girl Pedia|[https://zh.moegirl.org/博丽灵梦#基本资料 博丽灵梦#基本资料]}}
 
==Template data==
 
==Template data==
 
<templatedata>
 
<templatedata>

2019年11月26日 (二) 15:36的版本

This is a page-top or section-top template used to mark pages originally from different wiki projects.

Syntax

  • You may simply use {{FromOther}}:
  • To notify from which site is the page is from, use {{FromOther|name of wiki}}. For example, {{FromOther|Wikipedia}} yields:
  • You should also provide the link to the exact page: {{FromOther|Chinese Moe Girl Pedia|[https://zh.moegirl.org/Template:Info Template:Info]}} yields
  • Use |sect=sectto mark a section instead of the entire page. {{FromOther|sect=sect|Chinese Moe Girl Pedia|[https://zh.moegirl.org/博丽灵梦#基本资料 博丽灵梦#基本资料]}} yields

Template data

Page-top (or section-top) notice for pages originally from a different wiki project.

模板参数

此模板首选参数行内格式。

参数说明类型状态
site1

The name of the original site

默认值
another wiki project
例子
Chinese Moe Girl Pedia
字符串推荐
page2

The page of the origin. Links should be provided.

例子
[https://zh.moegirl.org/Are_you_OK Are you OK]
字符串推荐
is sectionsect

Use "sect" verbatim to mark a section as from another wiki project, instead of the entire page. All other inputs are ignored.

例子
sect
自动值
字符串可选