Jump to content

Template:Main gallery: Difference between revisions

From Detective Conan Wiki
Rellink moved above the image, omit text link if {{{1}}} is no given (Feel free to revert this if you don't like it/would like more discussion)
Tsutomu25 (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{rellink|extraclasses=noprint relarticle mainarticle|For the full gallery, click here: {{#if: {{{1|}}} | [[{{{1|}}}|{{{2|}}}]] }} }}[[File:Wiki_Gallery.png|280px|link={{PAGENAME}}/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 ==

Latest revision as of 05:03, 11 September 2025

Usage

To link to a "gallery" page of an article, use {{main gallery}}.

You can also precise a specific link and display name: {{main gallery|Article link|Article name}}. It will then display:

For the full gallery, click here: Article name