→Templates being moved and restructed.: /#switch |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 17: | Line 17: | ||
: That way we won't have one template per episode, but instead have one template per country. Thoughts? -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki — ''New'']</sup> 12:55, 3 December 2007 (CST) | : That way we won't have one template per episode, but instead have one template per country. Thoughts? -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki — ''New'']</sup> 12:55, 3 December 2007 (CST) | ||
::That would be very doable with a <code><nowiki>{{#switch:}}</nowiki></code> statement. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 15:52, 3 December 2007 (CST) | ::That would be very doable with a <code><nowiki>{{#switch:}}</nowiki></code> statement. --[[User:Catrope|Catrope]]<sup>([[User talk:Catrope|Talk to me]] or [[Special:Emailuser/Catrope|e-mail me]])</sup> 15:52, 3 December 2007 (CST) | ||
:::Precisely what I had in mind. ;-) -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki — ''New'']</sup> 16:02, 3 December 2007 (CST) | |||
::: True, but there are multi-formats. HDTV etc etc. [[User:Shane|Shane]] <sup>([[User_Talk:Shane|T]] - [[Special:Contributions/Shane|C]] - [[Special:Editcount/Shane|E]])</sup> 23:58, 3 December 2007 (CST) | |||
:::: Which can, realistically, be done within the same template. Have "format" be the master switch, with the "episode" being the sub-switch to each format. Better to have one template than 100+. -- [[User:Joe Beaudoin Jr.|Joe Beaudoin]] <sup>[[User talk:Joe Beaudoin Jr.|So say we all]] - [[Battlestar Wiki:Site support|Donate]] - [http://www.sanctuarywiki.org Sanctuary Wiki — ''New'']</sup> 00:00, 4 December 2007 (CST) |
Latest revision as of 06:00, 4 December 2007
Templates being moved and restructed.
Based on the "Episode Data" template I been working on, all these templates that store the information about when the episode was "released" got to be changed to include the country code. US, CAN, and UK. Right now I am going to move all of these to have the US country code in, then over the course of the days, we will create and maintain a UK and CA template listing, but for now US is going to be #1. Any questions on the order of where the country code goes?
Based on this structure:
- DVD's: {{{title}}} {{{dvdtype}}} {{{countrycode}}} DVD release date
- Broadcast's: {{{title}}} format {{{countrycode}}} broadcast date
The format in which the informations should be in is: DD Monthname YYYY
Refer to Template:Episode_Release_Date for the proper code types that are valid. These templates once done, will go nicly with User:Shane/Testing_Area -- the new version of the Episode Data template. Shane (T - C - E) 11:39, 3 December 2007 (CST)
- Wouldn't it be easier to condense each country code into one template, then have it print out a certain line when a switch is defined. For instance:
- {{US broadcast date|episode=Scattered}} would print out the US broadcast date for "Scattered".
- That way we won't have one template per episode, but instead have one template per country. Thoughts? -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 12:55, 3 December 2007 (CST)
- That would be very doable with a
{{#switch:}}
statement. --Catrope(Talk to me or e-mail me) 15:52, 3 December 2007 (CST)- Precisely what I had in mind. ;-) -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 16:02, 3 December 2007 (CST)
- True, but there are multi-formats. HDTV etc etc. Shane (T - C - E) 23:58, 3 December 2007 (CST)
- Which can, realistically, be done within the same template. Have "format" be the master switch, with the "episode" being the sub-switch to each format. Better to have one template than 100+. -- Joe Beaudoin So say we all - Donate - Sanctuary Wiki — New 00:00, 4 December 2007 (CST)
- That would be very doable with a