Difference between revisions of "Template:Main gallery"
From Detective Conan Wiki
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{rellink|extraclasses=noprint relarticle mainarticle|For the full gallery, | + | {{rellink|extraclasses=noprint relarticle mainarticle|For the full gallery, click here: {{#if: {{{1|}}} | [[{{{1|}}}|{{{2|}}}]] }} }}[[File:Wiki_Gallery.png|280px|link={{PAGENAME}}/Gallery]] |
| − | + | {{code | |
| + | |css= | ||
| + | .rellink, .rellink + p:has(img){ | ||
| + | margin: 0px !important; | ||
| + | } | ||
| + | }} | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
| Line 6: | Line 11: | ||
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 | + | :<div class="noprint">''For the full gallery, click here: [[Article link|Article name]]''</div> |
| + | [[File:Wiki_Gallery.png|280px|link={{PAGENAME}}/Gallery]] | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||