Difference between revisions of "Template:Card"
From Publication Station
VKranendonk (talk | contribs) (Created page with "<noinclude> This is the "Card" template. This Template can also by used by writing it like this, and inserting it in a page: <pre> {{ Card | Title= | Thumbnail= }} </pre> </noinclude> <includeonly><div class="card-wrapper"> <div class="thumb-wrapper">[[File:{{{2|None.png}}}|link={{{1}}}]]</div> <div class="title">[[{{{1}}}]]</div> </div></includeonly>") |
m |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
This Template can also by used by writing it like this, and inserting it in a page: | This Template can also by used by writing it like this, and inserting it in a page: | ||
<pre> | <pre> | ||
{{ Card | {{Card | ||
| Title= | | Title=Lenticulair | ||
| Thumbnail= | | Thumbnail=LENTICULAIR_trump_chine.jpg | ||
| Page=Lenticulair | |||
}} | }} | ||
</pre> | |||
Can also be used inside Columns template: | |||
<pre> | |||
{{Columns}} | |||
{{Card | |||
| Title=Lenticulair | |||
| Thumbnail=LENTICULAIR_trump_chine.jpg | |||
| Page=Lenticulair | |||
}} | |||
{{ColumnsEnd}} | |||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
<includeonly><div class="card-wrapper"> | <includeonly><div class="card-wrapper"> | ||
<div class="thumb-wrapper">[[File:{{{ | <div class="thumb-wrapper">[[File:{{{Thumbnail}}}|link={{{Page}}}]]</div> | ||
<div class="title">[[{{{ | <div class="title">[[{{{Page}}}|{{{Title}}}]]</div> | ||
</div></includeonly> | </div></includeonly> |
Latest revision as of 23:53, 12 April 2023
This is the "Card" template.
This Template can also by used by writing it like this, and inserting it in a page:
{{Card | Title=Lenticulair | Thumbnail=LENTICULAIR_trump_chine.jpg | Page=Lenticulair }}
Can also be used inside Columns template:
{{Columns}} {{Card | Title=Lenticulair | Thumbnail=LENTICULAIR_trump_chine.jpg | Page=Lenticulair }} {{ColumnsEnd}}