Template:Main gallery: Difference between revisions
Appearance
No edit summary |
Eyacorkett (talk | contribs) mNo edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 2: | Line 2: | ||
{{code | {{code | ||
|css= | |css= | ||
.rellink, p:has(img){ | .rellink, .rellink + p:has(img){ | ||
margin: 0px !important; | margin: 0px !important; | ||
} | } | ||
}} | }}<noinclude> | ||
<noinclude> | |||
== Usage == | == Usage == | ||
To link to a "gallery" page of an article, use <nowiki>{{main gallery}}</nowiki>. | To link to a "gallery" page of an article, use <nowiki>{{main gallery}}</nowiki>. | ||
You can also precise a specific link and display name: <nowiki>{{main gallery|Article link|Article name}}</nowiki>. It will then display: | You can also precise a specific link and display name: <nowiki>{{main gallery|Article link|Article name}}</nowiki>. It will then display: | ||
:<div class="noprint">''For the full gallery, click here: [[Article link|Article name]]''</div> | :<div class="noprint">''For the full gallery, click here: [[Article link|Article name]]''</div> | ||
[[File: | [[File:Wiki Gallery.png|280px|link={{PAGENAME}}/Gallery]] | ||
[[Category:Templates]] | |||
</noinclude> | [[Category:Templates]]</noinclude> | ||