Difference between revisions of "Template:Navigation Grid Item"

From Zezenia Online Wiki
(Created page with "<includeonly><div class="zezenia-landing-item">[[File:{{{Image|}}}|frameless|center|link={{{Link|}}}]][[{{{Link|}}}|{{{Text|Link}}}]]</div></includeonly>")
 
(Add documentation)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="zezenia-landing-item">[[File:{{{Image|}}}|frameless|center|link={{{Link|}}}]][[{{{Link|}}}|{{{Text|Link}}}]]</div></includeonly>
+
<includeonly><div class="zezenia-landing-item">[[File:{{{Image|}}}|frameless|center|link={{{Link|}}}]]
 +
{{#if: {{{Text|}}} | [[{{{Link|}}}|{{{Text}}}]] | [[{{{Link|}}}]] }}
 +
</div></includeonly><noinclude>
 +
This template is used for navigation grid items. It must be wrapped within [[Template:Navigation Grid Header]] and [[Template:Navigation Grid Footer]].
 +
 
 +
{{Navigation Grid Header}}
 +
{{Navigation Grid Item|Image=Rat.png|Link=Rat}}
 +
{{Navigation Grid Item|Image=Creep.png|Link=Creep|Text=Creep & Text}}
 +
{{Navigation Grid Footer}}
 +
 
 +
<pre><nowiki>
 +
{{Navigation Grid Header}}
 +
{{Navigation Grid Item|Image=Rat.png|Link=Rat}}
 +
{{Navigation Grid Item|Image=Creep.png|Link=Creep|Text=Creep & Text}}
 +
{{Navigation Grid Footer}}
 +
</nowiki></pre>
 +
</noinclude>

Latest revision as of 17:24, 13 May 2021

This template is used for navigation grid items. It must be wrapped within Template:Navigation Grid Header and Template:Navigation Grid Footer.

{{Navigation Grid Header}}
{{Navigation Grid Item|Image=Rat.png|Link=Rat}}
{{Navigation Grid Item|Image=Creep.png|Link=Creep|Text=Creep & Text}}
{{Navigation Grid Footer}}