Template:External: Difference between revisions

New documentation style.
mNo edit summary
(New documentation style.)
Line 1: Line 1:
{{box|{{{!}}
{{box|{{{!}}
  {{!}}[[File:{{{3}}}|32px]]{{!}}{{!}}''This article or section is a short summary on {{{1}}}.''<br>'''''{{{2}}}''' features more in-depth articles.''
  {{!}}[[File:{{{3}}}|32px]]{{!}}{{!}}''This article or section is a short summary on {{{1}}}.''<br>'''''{{{2}}}''' features more in-depth content.''
  {{!}}} }}<noinclude>
  {{!}}} }}<noinclude>


==Info==
==Info==
To be placed at the top of articles or sections that only briefly explain a subject that's given more detail in other wikis.
To be placed at the top of articles or sections that only briefly explain a subject that's given more detail in other wikis. Special thanks to [[zelda:Template:exitstub-nintendo|Zelda Wiki]].


Parameters:
==Parameters==
*'''1''': the content this article is about.
{| class = "wikitable"
*'''2''': link to and name of the relevant wiki and relevant external article. Examples:
! Parameter || Mandatory || Default || Name || Detailed description
**"<code><nowiki>[[smashwiki:Super Smash Bros. Melee|Smash Wiki]]</nowiki></code>" &ndash; SmashWiki's ''Melee'' page.
|-
**"<code><nowiki>[http://tcrf.net/Pikmin The Cutting Room Floor]</nowiki></code>" &ndash; TCRF's ''Pikmin'' page.
! 1
*'''3''': icon used to represent that wiki.
| '''Yes''' ||  || Content || The content this article or section is about.
|-
! 2
| '''Yes''' ||  || External link || Link and name of the relevant wiki and relevant external article. Examples:
*<code><nowiki>[[smashwiki:Super Smash Bros. Melee|Smash Wiki]]</nowiki></code> &ndash; SmashWiki's ''Melee'' page.
*<code><nowiki>[http://tcrf.net/Pikmin The Cutting Room Floor]</nowiki></code> &ndash; TCRF's ''Pikmin'' page.
|-
! 3
| '''Yes''' ||  || Icon || Image file name of the icon used to represent the external wiki, extension included.
|}


Special thanks to [[zelda:Template:exitstub-nintendo|Zelda Wiki]].
==Template==
<pre>
{{external|<content>|<external link>|<icon>}}
</pre>
 
==Examples==
{| class = "wikitable"
! Code || Result
|-
| <pre>{{external
|the template this one takes inspiration from
|[[Zelda:Template:exitstub-nintendo|Zelda Wiki]]
|Zelda Wiki.png
}}</pre>
|
{{external|the template this one takes inspiration from|[[Zelda:Template:exitstub-nintendo|Zelda Wiki]]|Zelda Wiki.png}}
|}


[[Category:Box templates]]
[[Category:Box templates]]