Difference between revisions of "Template:ToFandom"
(Added ZhMGP link) |
m (Tsuyuki2198391 moved page Template:ToFANDOM to Template:ToFandom) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
| rowspan="2" | [[File:Fandom fire logo.svg|40px|link=https://{{{community|{{{c|community}}}}}}.{{{domain|fandom.com}}}/{{#if:{{{lang|}}}|{{{lang}}}/}}]] | | rowspan="2" | [[File:Fandom fire logo.svg|40px|link=https://{{{community|{{{c|community}}}}}}.{{{domain|fandom.com}}}/{{#if:{{{lang|}}}|{{{lang}}}/}}]] | ||
− | | id="text" style="font-size: 14px; line-height: 120% !important;" | The | + | | id="text" style="font-size: 14px; line-height: 120% !important;" | The Fandom site '''{{{name|{{{community|{{{c|community}}}}}}}}}''' has a similar article: |
|- | |- | ||
| class="plainlinks" | [https://{{{community|{{{c|community}}}}}}.{{{domain|fandom.com}}}/{{#if:{{{lang|}}}|{{{lang}}}/}}wiki/{{urlencode:{{{1|{{PAGENAME}}}}}}} {{#if:{{{2|{{{1|}}}}}}|{{{2|{{{1}}}}}}|{{PAGENAME}}}}] | | class="plainlinks" | [https://{{{community|{{{c|community}}}}}}.{{{domain|fandom.com}}}/{{#if:{{{lang|}}}|{{{lang}}}/}}wiki/{{urlencode:{{{1|{{PAGENAME}}}}}}} {{#if:{{{2|{{{1|}}}}}}|{{{2|{{{1}}}}}}|{{PAGENAME}}}}] | ||
|- | |- | ||
− | | style="color: gray; font-size: 12px; {{#if:{{{nc|}}}|display: none;}}" colspan="2" |Note: The content of {{{name|this | + | | style="color: gray; font-size: 12px; {{#if:{{{nc|}}}|display: none;}}" colspan="2" |Note: The content of {{{name|this Fandom community}}} is licensed under a CC BY-SA agreement that is different from Moegirlpedia ([[Moegirlpedia:Copyrights|Details]]). |
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
Line 12: | Line 12: | ||
== Structure == | == Structure == | ||
This template can use the following parameters: | This template can use the following parameters: | ||
− | *<code>1=</code>, the article name on | + | *<code>1=</code>, the article name on Fandom, the default value is the article's name |
*<code>2=</code>, the name of the entry to be displayed on the link, the default is the value of <code>1=</code> | *<code>2=</code>, the name of the entry to be displayed on the link, the default is the value of <code>1=</code> | ||
− | *<code>community=</code> or <code>c=</code>, | + | *<code>community=</code> or <code>c=</code>, Fandom domain {{color|red|[required]}} <!-- |
− | **<code>domain=</code>, Due to the name being changed from Wikia to | + | **<code>domain=</code>, Due to the name being changed from Wikia to Fandom, there are very few wikis that are not under the domain name of fandom.com, so this item is optional, for example<code>domain=wikia.org</code>--> |
*<code>lang=</code>, community language path, such as <code>es</code> in <code>https://doraemon.fandom.com/es/wiki/Nobita_Nobi</code> | *<code>lang=</code>, community language path, such as <code>es</code> in <code>https://doraemon.fandom.com/es/wiki/Nobita_Nobi</code> | ||
*<code>name=</code>, the name of the Fandom community to be displayed, the default is <code>community=</code> or <code>c=</code> | *<code>name=</code>, the name of the Fandom community to be displayed, the default is <code>community=</code> or <code>c=</code> | ||
Line 21: | Line 21: | ||
== Example usage == | == Example usage == | ||
− | <pre>{{ | + | <pre>{{ToFandom |
|Community Central | |Community Central | ||
|Community Central | |Community Central | ||
Line 27: | Line 27: | ||
|name=Community Central | |name=Community Central | ||
}}</pre> | }}</pre> | ||
− | {{ | + | {{ToFandom |
|Community Central | |Community Central | ||
|Community Central | |Community Central | ||
Line 35: | Line 35: | ||
[[Category:External link templates]] | [[Category:External link templates]] | ||
− | [[zh:Template: | + | [[zh:Template:到Fandom]]</noinclude> |
Latest revision as of 15:51, 3 October 2024
Template related to FOO.fandom.com
Structure
This template can use the following parameters:
1=
, the article name on Fandom, the default value is the article's name2=
, the name of the entry to be displayed on the link, the default is the value of1=
community=
orc=
, Fandom domain [required]lang=
, community language path, such ases
inhttps://doraemon.fandom.com/es/wiki/Nobita_Nobi
name=
, the name of the Fandom community to be displayed, the default iscommunity=
orc=
nc=
, fill in any content when the linked Fandom community uses the same CC BY-NC-SA Agreement as Moegirlpedia.
Example usage
{{ToFandom |Community Central |Community Central |c=community |name=Community Central }}
The Fandom site Community Central has a similar article: | |
Community Central | |
Note: The content of Community Central is licensed under a CC BY-SA agreement that is different from Moegirlpedia (Details). |