Infobox: Difference between revisions

From SL Pro Wrestling Wiki
/>Default
No edit summary
 
/>Kirkburn
No edit summary
Line 92: Line 92:
|
|
}}
}}
|}
|}<noinclude><br style="clear:both;"/>
<noinclude>
{{documentation}}</noinclude>
 
 
 
 
 
==Usage==
Syntax:<br>
<code>'''<nowiki>{{</nowiki>Infobox'''<br />
'''|'''Box title    = <br />
'''|'''Image file  = <br />
'''|'''Image size  = <br />
'''|'''Row 1 title  = <br />
'''|'''Row 1 info  = <br />
'''|'''Row 2 title  = <br />
'''|'''Row 2 info  = <br />
'''|'''Row 3 title  = <br />
'''|'''Row 3 info  = <br />
'''|'''Row 4 title  = <br />
'''|'''Row 4 info  = <br />
'''|'''Row 5 title  = <br />
'''|'''Row 5 info  = <br />
'''|'''Row 6 title  = <br />
'''|'''Row 6 info  = <br />
'''|'''Row 7 title  = <br />
'''|'''Row 7 info  = <br />
'''|'''Row 8 title  = <br />
'''|'''Row 8 info  = <br />
'''|'''Row 9 title  = <br />
'''|'''Row 9 info  = <br />
'''|'''Row 10 title = <br />
'''|'''Row 10 info  = <br />
'''<nowiki>}}</nowiki>'''</code>
 
Notes:
* Keeping the '''Box Title''' empty will result in displaying '''No title'''
* If you don't want to display image, just keep '''Image file Name''' and '''Image Size''' empty.
* Keeping the '''Row 1 title''' empty will result in displaying '''No title'''.
* Keeping the '''Row (any row) info''' empty will result in displaying '''No information'''.
* Keeping the '''Row (any below row 1) title''' empty will result in that row and the rest of the rows below it will not be displayed.
* Max row for information: 10 rows.
 
Usage examples are here: [[Template talk:Infobox]].
 
[[Category:General wiki templates]]
</noinclude>

Revision as of 09:34, 14 November 2008

No Title

{{#if: |

[[Image:{{{Image file}}}|{{{Image size}}}px]]

}}

No Title
No information

{{#if: |

{{{Row 2 title}}}
No information

{{#if: |

{{{Row 3 title}}}
No information

{{#if: |

{{{Row 4 title}}}
No information

{{#if: |

{{{Row 5 title}}}
No information

{{#if: |

{{{Row 6 title}}}
No information

{{#if: |

{{{Row 7 title}}}
No information

{{#if: |

{{{Row 8 title}}}
No information

{{#if: |

{{{Row 9 title}}}
No information

{{#if: |

{{{Row 10 title}}}
No information

{{#if: |

Too many parameters

}}

}}

}}

}}

}}

}}

}}

}}

}}

}}


Template:Documentation