Hey Kids Comics Wiki
Register
(Created page with " <includeonly><center><div style="text-align:center;width:95%;clear:none;margin:1em 0 1em 1em;border:1px solid {{Theme.Default.Border}};background:{{Theme.Default.BG}};-moz-b...")
Tag: Source edit
 
No edit summary
Tag: Source edit
 
Line 196: Line 196:
 
=== Usage ===
 
=== Usage ===
 
<pre><nowiki>
 
<pre><nowiki>
{{Crossgen Database:Gallery Template
+
{{Gallery Template
 
| GalleryType = [Cover Art; Character; Location; Artist; Fan Artist; Fan Art; Item; Vehicle; Reality, etc.]
 
| GalleryType = [Cover Art; Character; Location; Artist; Fan Artist; Fan Art; Item; Vehicle; Reality, etc.]
 
| GalleryData = <!-- <gallery> -->
 
| GalleryData = <!-- <gallery> -->

Latest revision as of 12:53, 21 October 2020



Usage

{{Gallery Template
| GalleryType             = [Cover Art; Character; Location; Artist; Fan Artist; Fan Art; Item; Vehicle; Reality, etc.]
| GalleryData             = <!-- <gallery> -->
<!-- Image:[Insert image title here.].[Insert image file type here.]|[Insert image text here.] -->
<!-- </gallery> -->
<!-- Until actual images is put in here, don't remove the <!-- --> tags. -->
| SeeAlso                 = 
* [Non-automatic subjects, related galleries, etc.]
}}

Optional Fields

| CurrentLetter           = [First letter of "GalleryName".]
| GalleryName             = [Subject's name. Don't use double square brackets [[]].]

Notes

  • There is one problem with this template that might be impossible or extremely difficult to solve. That is that the template recognises if the "GalleryData" field is filled with something, but it does not recognise what. That means that galleries without images, but with <gallery> or <center> tags, it will think that the gallery has content. That requires that every new empty gallery page must have their gallery tags within <!-- comment tags --> or they will be placed in the wrong categories.