Difference between revisions of "Template:Collink"

From YTMND
Jump to: navigation, search
(Example)
Line 23: Line 23:
 
==Example==
 
==Example==
 
<nowiki>{{collink|yourethemannowdog|You're The Man Now Dog|w:Sean Connery|Sean Connery}}</nowiki> generates:
 
<nowiki>{{collink|yourethemannowdog|You're The Man Now Dog|w:Sean Connery|Sean Connery}}</nowiki> generates:
{{collink|yourethemannowdog|You're The Man Now Dog|w:Sean Connery|Sean Connery}}
+
{| border="0"
 +
| 1
 +
| 2
 +
| 3
 +
| 4
 +
{{collink|yourethemannowdog|You're The Man Now Dog|w:Sean Connery|Sean Connery|v|v}}
 +
|}
 
[[Category:Link templates|Collection link]]</noinclude>
 
[[Category:Link templates|Collection link]]</noinclude>

Revision as of 16:29, December 27, 2006

|- |{{{2}}} |? |? |[[{{{3}}}|{{{3}}}]]

Collink is short for "collection link". This can be used in collection pages.

Code

{{collink
| 1 = YTMND link
| 2 = YTMND link caption
| 3 = Wiki link
| 4 = Wiki link caption
}}
or
{{collink
| link            = YTMND link
| caption         = YTMND link caption
| article         = Wiki link
| article-caption = Wiki link caption
}}

Example

{{collink|yourethemannowdog|You're The Man Now Dog|w:Sean Connery|Sean Connery}} generates:

1 2 3 4
You're The Man Now Dog v v Sean Connery