User:Noobius/example

I have the follwing table: Now I want to generate the following infoboxes by copying the table:

The thing that I want is that I can copy the table in this code automatically:

{infbox episode

|title=

|episode=

|season=

|Premiere date=

}

explode
I achieve this by creating a data template using #explode and #switch

Template:Episodes

Create your infobox dropping in the data into your design Template:EpisodesInfobox is the episode number. So to use on a page it is   → Episode 2 it would be   . As I cannot display on this wiki, a screenshot is displayed below.

As this replaces your table, create a template to automatically display each episode

Template:EpisodesTable
 * style="text-align:center" |
 * style="text-align:center" |
 * style="text-align:center" |
 * style="text-align:center" |
 * style="text-align:center" |

is the episode number. Then drop the template into your table.