Difference between revisions of "Template:Blog"
From LGPedia
(Added conditional to only link blogger if blogger if blogger page exists. Reaction to double linkage on LA to LDN) |
m (Way to mess up the way the template generates stuff, Ren... :P Adding Blogger2 field) |
||
| Line 9: | Line 9: | ||
|- valign=top | |- valign=top | ||
! style="width:8em" | Blogger | ! style="width:8em" | Blogger | ||
| − | | {{#ifexist: {{{blogger}}} | [[{{{blogger}}}]] | {{{blogger}}} }} | + | | {{#ifexist: {{{blogger}}} | [[{{{blogger}}}]] | {{{blogger}}} }}{{#ifexist: {{{blogger2}}} | [[{{{blogger2}}}]] | {{{blogger2}}} }} |
|- valign=top | |- valign=top | ||
! Date Posted | ! Date Posted | ||
| Line 137: | Line 137: | ||
{{!}} "[[{{{NextC}}}]]" |}} | {{!}} "[[{{{NextC}}}]]" |}} | ||
|} | |} | ||
| − | {{#ifeq: {{#ifexpr: {{{number}}} | true|true}} | true | {{EpHeader|{{{number}}}|KM={{{KM}}}|{{{name}}}}}|}}<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos]] [[Category:KateModern videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:KateModern videos by date| {{{date}}}]]|}} | [[Category:Lonelygirl15 videos]] [[Category:Lonelygirl15 videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:Lonelygirl15 videos by date| {{{date}}}]]}}|}} {{#ifeq: {{{blogger}}} | OpAphid | [[Category:OpAphid videos]] | [[Category:{{{blogger}}}'s blogs|{{#ifeq: {{#ifexpr: {{{number}}} |true|true}} | true |  {{ #ifexpr: {{{number}}} < 100 |0|}}{{ #ifexpr: {{{number}}} < 10 |0|}}{{{number}}}|* {{{number}}}}}]]}}</includeonly><noinclude> | + | {{#ifeq: {{#ifexpr: {{{number}}} | true|true}} | true | {{EpHeader|{{{number}}}|KM={{{KM}}}|{{{name}}}}}|}}<includeonly>{{ #ifeq: {{{KM}}} | yes | [[Category:KateModern videos]] [[Category:KateModern videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:KateModern videos by date| {{{date}}}]]|}} | [[Category:Lonelygirl15 videos]] [[Category:Lonelygirl15 videos by length|{{{length}}}]] {{#if: {{{date|}}}|[[Category:Lonelygirl15 videos by date| {{{date}}}]]}}|}} {{#ifeq: {{{blogger}}} | OpAphid | [[Category:OpAphid videos]] | [[Category:{{{blogger}}}'s blogs|{{#ifeq: {{#ifexpr: {{{number}}} |true|true}} | true |  {{ #ifexpr: {{{number}}} < 100 |0|}}{{ #ifexpr: {{{number}}} < 10 |0|}}{{{number}}}|* {{{number}}}}}]]}} |
| + | {{#ifeq: {{{blogger2}}} | OpAphid | [[Category:OpAphid videos]] | [[Category:{{{blogger2}}}'s blogs|{{#ifeq: {{#ifexpr: {{{number}}} |true|true}} | true |  {{ #ifexpr: {{{number}}} < 100 |0|}}{{ #ifexpr: {{{number}}} < 10 |0|}}{{{number}}}|* {{{number}}}}}]]}}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
This template should be included at the top of every official [[List of Lonelygirl15 videos|LG15 video]], and no other place. | This template should be included at the top of every official [[List of Lonelygirl15 videos|LG15 video]], and no other place. | ||
Revision as of 12:04, 22 April 2008
| {{{name}}} | |
|
Image not available. | |
| Blogger | {{{blogger}}}{{{blogger2}}} |
|---|---|
| Date Posted | Unknown |
| URL | {{{url}}} |
| Length | {{{length}}} |
| Description | {{{description}}} |
| Adjacent Blogs | |
| Previous | none |
| Next | none |
Usage
This template should be included at the top of every official LG15 video, and no other place.
{{Blog
| name =
| number =
| image =
| caption =
| blogger =
| date =
| url =
| forumid =
| length =
| description =
| location =
| tags =
<!-- Leave production credits
blank if there is no information. Do not specify "none". -->
| execprod =
| coexecprod =
| assocprod =
| serprod =
| setprod =
| producers =
| assistprod =
| lineprod =
| supprod =
| directors =
| camera =
| vidplay =
| headwriter =
| story =
| editor =
| pm =
| pc =
| pa =
| pr =
| ic =
| animation =
| prodserv =
| music supervisor =
| song =
<!-- Use VidChar template for each cast member -->
| cast =
{{VidChar|character|actor}}
<!-- Leave Previous blank after = if there is no previous blog.
Leave Next blank after = if there is no next blog. Duh. -->
| Previous =
| Next =
<!-- These are for "Previous by [blogger]" and "Next by [blogger]".
Leave blank if the next/previous blog was by the same blogger. -->
| PreviousB =
| NextB =
<!-- These are for videos not technically part of the series,
for example pre-canon videos of characters later becoming canon.
They create "Directly after ..." and "Directly before ..." rows -->
| PreviousC =
| NextC =
<!-- If this is a KateModern video, add this line.
Otherwise, omit it. -->
| KM = yes
}}
- If the page name is the same as the video name, {{PAGENAME}} should be used in the name variable.
- The date variable MUST be in the format YYYYMMDD.