Jump to content

Template:Infobox test

From Caseyverse Wiki
Revision as of 22:18, 4 January 2018 by templates_wiki>Lady Aleena (added category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<infobox theme-source="theme" layout="stacked">

   <title source="name">
       <default>Infobox test</default>
   </title>
   <navigation>

This is the full list of files you will need to export this template correctly.

   </navigation>
   
       <label>File:Edit-copy.svg Subpages</label>

<default>

  • /doc

</default> <format>

  • /doc

{{{subpages}}}

</format>

   
   
       <label>Templates</label>

<default>

</default> <format>

</format>

   
   
       <label>File:Lua-Logo.svg Lua modules</label>
   
   
       <label>Images</label>

<default>

</default> <format>

</format>

   
   <label>Style sheet</label>
   <navigation></navigation>
   
       <label>Shortcuts</label>

<format>

{{{shortcuts}}}

</format>

   

</infobox>This infobox is for testing. If you find something that might be useful to others, leave an example of your work behind. You could even sign it (~~~~).

Previews

Click here to refresh the previews

<infobox theme-source="theme" layout="stacked">

   <title source="name">
       <default>Infobox test</default>
   </title>
   <navigation>

This is the full list of files you will need to export this template correctly.

   </navigation>
   
       <label>File:Edit-copy.svg Subpages</label>

<default>

  • /doc

</default> <format>

  • /doc

</format>

   
   
       <label>Templates</label>

<default>

</default> <format>

</format>

   
   
       <label>File:Lua-Logo.svg Lua modules</label>
   
   
       <label>Images</label>

<default>

</default> <format>

</format>

   
   <label>Style sheet</label>
   <navigation>These are shortcuts created to this template that you might want.</navigation>
   
       <label>Shortcuts</label>

<format>

</format>

   

</infobox>

Experiments

  • I did not want the header of the group to show up if only the first parameter were defined, so the following code was used to hide it. Lady Aleena (talk) 05:56, November 18, 2017 (UTC)
    <header>{{#if: {{{third_parameter|}}} {{{second_paramenter|}}} | Header name }}</header>
  • I attempted to create a stacked group, it did not work. It appears that either the whole infobox is stacked or not, there is no stacking just one group. Lady Aleena (talk) 11:40, December 11, 2017 (UTC)