Difference between revisions of "Template:Scout"
From A3! Wiki
Fimbulvetr (talk | contribs) |
Fimbulvetr (talk | contribs) |
||
Line 31: | Line 31: | ||
<pre>==={{{scoutname}}}=== | <pre>==={{{scoutname}}}=== | ||
{{#if: {{{banner|}}} | [[File:{{{banner}}}|frameless|right|link=|{{{scoutname}}}]] | }} | {{#if: {{{banner|}}} | [[File:{{{banner}}}|frameless|right|link=|{{{scoutname}}}]] | }} | ||
− | <p>'''Scouting Period:''' {{#time: F j, Y H:i | {{{start}}}}} JST to {{#time: F j, Y H:i | {{{end}}}}} JST</p> | + | <p>'''Scouting Period:''' {{#time: F j, Y H:i | {{{start}}}}} JST{{#if: {{{end|}}} | to {{#time: F j, Y H:i | {{{end}}}}} JST |, end date to be confirmed}}</p> |
+ | {{#if: {{{relatedevent|}}} | <p>'''Related Event:''' {{#switch: {{{relatedevent|}}}|TBA=To Be Confirmed|{{{relatedevent}}}}}</p> | }} | ||
<p>'''Featured Cards:'''</p> | <p>'''Featured Cards:'''</p> | ||
− | <ul> | + | <ul>{{#if: {{{ssr|}}} | <li>SSR {{{ssr}}}</li> | }} |
− | {{#if: {{{ssr|}}} | <li>SSR {{{ssr}}}</li> | }} | ||
{{#if: {{{ssr2|}}} | <li>SSR {{{ssr2}}}</li> | }} | {{#if: {{{ssr2|}}} | <li>SSR {{{ssr2}}}</li> | }} | ||
{{#if: {{{sr|}}} | <li>SR {{{sr}}}</li> | }} | {{#if: {{{sr|}}} | <li>SR {{{sr}}}</li> | }} | ||
{{#if: {{{sr2|}}} | <li>SR {{{sr2}}}</li> | }} | {{#if: {{{sr2|}}} | <li>SR {{{sr2}}}</li> | }} | ||
{{#if: {{{r|}}} | <li>R {{{r}}}</li> | }} | {{#if: {{{r|}}} | <li>R {{{r}}}</li> | }} | ||
− | {{#if: {{{r2|}}} | <li>R {{{r2}}}</li> | }} | + | {{#if: {{{r2|}}} | <li>R {{{r2}}}</li> | }}</ul></pre> |
− | </ul> | ||
− | |||
Blank template: | Blank template: | ||
Line 54: | Line 52: | ||
|ssr2= | |ssr2= | ||
|sr2= | |sr2= | ||
− | |r2= | + | |r2= |
}}</pre> | }}</pre> | ||
− | + | Using the template (with notes): | |
<pre>{{Scout | <pre>{{Scout | ||
|banner=banner.png (include file extension) | |banner=banner.png (include file extension) | ||
Line 68: | Line 66: | ||
|ssr2= you only need these if it's a double gacha | |ssr2= you only need these if it's a double gacha | ||
|sr2= so delete these if there are only 1 set of cards | |sr2= so delete these if there are only 1 set of cards | ||
− | |r2= bye | + | |r2= bye}} |
− | }}</pre> | + | <gallery mode=nolines style="font-size: 0.9em; padding: 0;">File:(Temptation Orangette) Banri Serious SSR.png|SSR [[Banri Settsu]]|alt=SSR (Temptation Orangette) Banri Settsu |
+ | File:(Strawberry Dip) Azuma Action SR.png|SR [[Azuma Yukishiro]]|alt=SR (Strawberry Dip) Azuma Yukishiro | ||
+ | File:(Triangle Mont Blanc) Misumi Comedy R.png|R [[Misumi Ikaruga]]|alt=R (Triangle Mont Blanc) Misumi Ikaruga</gallery> | ||
+ | {{clear}} | ||
+ | </pre> | ||
+ | |||
+ | The gallery part is optional, for when we don't have the pictures, but the formatting should be as above. It's not a part of the template proper because ... it's actually easier not to automate it. You can omit the "File:" part of the image and it should still work fine. | ||
</noinclude> | </noinclude> |
Revision as of 10:39, 30 April 2017
Example
Event Name!
Scouting Period: April 20, 2017 16:00 JST to April 20, 2017 21:00 JST
Featured Cards:
- SSR Temptation Orangette Banri Settsu
- SR Strawberry Dip Azuma Yukishiro
- R Triangle Mont Blanc Misumi Ikaruga
SSR Banri Settsu
Documentation
==={{{scoutname}}}=== {{#if: {{{banner|}}} | [[File:{{{banner}}}|frameless|right|link=|{{{scoutname}}}]] | }} <p>'''Scouting Period:''' {{#time: F j, Y H:i | {{{start}}}}} JST{{#if: {{{end|}}} | to {{#time: F j, Y H:i | {{{end}}}}} JST |, end date to be confirmed}}</p> {{#if: {{{relatedevent|}}} | <p>'''Related Event:''' {{#switch: {{{relatedevent|}}}|TBA=To Be Confirmed|{{{relatedevent}}}}}</p> | }} <p>'''Featured Cards:'''</p> <ul>{{#if: {{{ssr|}}} | <li>SSR {{{ssr}}}</li> | }} {{#if: {{{ssr2|}}} | <li>SSR {{{ssr2}}}</li> | }} {{#if: {{{sr|}}} | <li>SR {{{sr}}}</li> | }} {{#if: {{{sr2|}}} | <li>SR {{{sr2}}}</li> | }} {{#if: {{{r|}}} | <li>R {{{r}}}</li> | }} {{#if: {{{r2|}}} | <li>R {{{r2}}}</li> | }}</ul>
Blank template:
{{Scout |banner= |scoutname= |start= |end= |ssr= |sr= |r= |ssr2= |sr2= |r2= }}
Using the template (with notes):
{{Scout |banner=banner.png (include file extension) |scoutname=Jun Sleeps Event |start=4/20/2017 16:00 |end=April 20 2017 9pm |ssr="Handsome Squidward" [[Character Name]] |sr="Card Name" [[Character Name]] |r="Also a Card Name" [[Character Name]] |ssr2= you only need these if it's a double gacha |sr2= so delete these if there are only 1 set of cards |r2= bye}} <gallery mode=nolines style="font-size: 0.9em; padding: 0;">File:(Temptation Orangette) Banri Serious SSR.png|SSR [[Banri Settsu]]|alt=SSR (Temptation Orangette) Banri Settsu File:(Strawberry Dip) Azuma Action SR.png|SR [[Azuma Yukishiro]]|alt=SR (Strawberry Dip) Azuma Yukishiro File:(Triangle Mont Blanc) Misumi Comedy R.png|R [[Misumi Ikaruga]]|alt=R (Triangle Mont Blanc) Misumi Ikaruga</gallery> {{clear}}
The gallery part is optional, for when we don't have the pictures, but the formatting should be as above. It's not a part of the template proper because ... it's actually easier not to automate it. You can omit the "File:" part of the image and it should still work fine.