Difference between revisions of "Template:Collink"

From YTMND
Jump to: navigation, search
m (Example)
(Example)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
*{{y|{{{link|{{{1}}}}}}|{{{caption|{{{2}}}}}}}} ([[{{{article|{{{3}}}}}}|{{{article-caption|{{{article|{{{4|{{{3}}}}}}}}}}}}]])<noinclude>
+
|-
 +
|{{y|{{{link|{{{1}}}}}}|{{{caption|{{{2}}}}}}}}
 +
|{{{5|?}}}
 +
|{{{6|?}}}
 +
|[[{{{article|{{{3}}}}}}|{{{article-caption|{{{article|{{{4|{{{3}}}}}}}}}}}}]]
 +
<noinclude>
 
'''Collink''' is short for "collection link". This can be used in [[:Category:Fad collections|collection]] pages.
 
'''Collink''' is short for "collection link". This can be used in [[:Category:Fad collections|collection]] pages.
 +
 
==Code==
 
==Code==
 
<pre>{{collink
 
<pre>{{collink
Line 16: 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:
{{collink|yourethemannowdog|You're The Man Now Dog|w:Sean Connery|Sean Connery}}
+
{{colstart}}
 +
{{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.