Template talk:Template-Display

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

Instructions[edit]

I created this template so I didn't have to type as much to include an infobox in Wikinews:Template messages/Infoboxes. It works as following:



First you have to start the table, see help:table for more information on that.

{| border="2" width="100%" ! Type !! To display !! Where & Notes

Then the template, we'll use {{Rwanda infobox}} as the infobox, and we'll put "After Masthead right at the top" as the notes/where column.

{{Template-Display|rwanda infobox|After Masthead right at the top}}

Then we put next template; say {{human rights infobox}}

{{Template-Display|human rights infobox|After Masthead right at the top. Note, You put nothing between Template-Display's in the table. only stuff at the beginning and end of the table.}}

Then we close the table.

|}


Produces this:


Type To display Where & Notes

rwanda infobox

{{rwanda infobox}}
Talk, Edit

After Masthead right at the top

human rights infobox

{{human rights infobox}}
Talk, Edit


After Masthead right at the top. Note, You put nothing between Template-Display's in the table. only stuff at the bgeining and end of the table.