Difference between revisions of "Template:Collink"

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

Latest revision as of 16:31, 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

Start with {{colstart}}, then {{collink|yourethemannowdog|You're The Man Now Dog|w:Sean Connery|Sean Connery}} generates:

Name Image type Sound type Theme
You're The Man Now Dog v v Sean Connery

Then end with colend.