Template:Mp-gallery/doc
Appearance
This is a documentation subpage for Template:Mp-gallery (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template replaces the main page gallery which is deprecated with the new desktop skin. It takes 3 unnamed parameters:
1
- the filename of the image to be used, without theFile:
prefix2
- the destination (or target) page3
- the display text, if it is different from the destination (the default value is the same as2
)
Example (single)
{{Mp-gallery|Icon-SpongeBob.png|Sandy Cheeks|not Sandy Cheeks}}
Result:
Example (multiple)
{{Mp-gallery|Icon-SpongeBob.png|Sandy Cheeks}} {{Mp-gallery|Icon-SpongeBob.png|Sandy Cheeks|not Sandy Cheeks}}
Result: