Difference between revisions of "Template:Line/SNS"

From A3! Wiki
(Created page with "<noinclude> Category:Templates <pre> To use this template, replace the parameters in the (brackets) with the appropriate text. {{Line/SNS |icon=[Character's first name] O...")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
|likes=[Number eg 9]
 
|likes=[Number eg 9]
 
|image=[Name of image file WITHOUT '.png' extension and 'File:' prefix eg. Event Name Episode 1]
 
|image=[Name of image file WITHOUT '.png' extension and 'File:' prefix eg. Event Name Episode 1]
 +
|plain=[Hide image side eg y]
 
}}
 
}}
 
</pre>
 
</pre>
Line 20: Line 21:
 
{{Line/LIME|icon=Omi|character=Omi|dialogue=I've just finished, and now I'm doing preparations for tomorrow}}
 
{{Line/LIME|icon=Omi|character=Omi|dialogue=I've just finished, and now I'm doing preparations for tomorrow}}
 
{{Line|character=Yuki|border=Yuki|dialogue=You're too honest}}
 
{{Line|character=Yuki|border=Yuki|dialogue=You're too honest}}
{{Line/SNS|icon=Kazunari|character=Omi|dialogue=I've |tags=#test<br />#testing|likes=9|image=Blog Tenma-san's Birthday!}}
+
{{Line/SNS|icon=Kazunari|character=Kazunari|dialogue=I've |tags=#test<br />#testing|likes=9|image=Blog Tenma-san's Birthday!}}
{{Line|character=Yuki|border=Yuki|dialogue=You're too honest}}
 
 
{{Line|character=Yuki|border=Yuki|dialogue=You're too honest}}
 
{{Line|character=Yuki|border=Yuki|dialogue=You're too honest}}
 +
{{Line/SNS|icon=Kazunari|character=Kazunari|dialogue=I've |tags=#test<br />#testing|plain=y}}
 
</table>
 
</table>
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
 
<tr align="left">
 
<tr align="left">
<td class="LIME" colspan="2"><div class="LIME-container"><div style="display: inline-block; margin-right: 0.5em;">{{#if:{{{image|}}}|[[File:{{{image}}}.png|300px]]|}}<p>👍 💬 <i class="fas fa-recycle"></i>{{#if:{{{likes|}}}|<br /><span style="font-size:0.9em">{{{likes|}}} likes</span>|}}</p></div>
+
<td class="LIME" colspan="2"><div class="LIME-container"><div style="display: inline-block; margin-right: 0.5em;" {{#switch: {{{plain|}}} | y | yes | Y | Yes = style="display:none;" |}}>{{#if:{{{image|}}}|[[File:{{{image}}}.png|300px]]|}}<p>👍 💬 <i class="fas fa-recycle"></i>{{#if:{{{likes|}}}|<br /><span style="font-size:0.9em">{{#switch: {{{likes}}}| 1 = 1 like | {{{likes}}} likes }}</span>|}}</p></div>
 
<div style="display: inline-block; vertical-align: top;"><span class="LIME-name">{{#ifexist: File:LIME Icon {{ucfirst:{{{icon}}}}}.png | <div class="limeicon">[[File:LIME Icon {{ucfirst:{{{icon}}}}}.png|33px]]</div> | <div class="limeicon"></div>}} {{#if: {{{character|}}} | {{Character to Troupe|characterSNS={{{character}}}}}|}}</span><br />
 
<div style="display: inline-block; vertical-align: top;"><span class="LIME-name">{{#ifexist: File:LIME Icon {{ucfirst:{{{icon}}}}}.png | <div class="limeicon">[[File:LIME Icon {{ucfirst:{{{icon}}}}}.png|33px]]</div> | <div class="limeicon"></div>}} {{#if: {{{character|}}} | {{Character to Troupe|characterSNS={{{character}}}}}|}}</span><br />
 
{{#if: {{{dialogue|}}}|<span>{{{dialogue}}}<br /></span>|}}
 
{{#if: {{{dialogue|}}}|<span>{{{dialogue}}}<br /></span>|}}

Latest revision as of 15:27, 12 April 2019

To use this template, replace the parameters in the (brackets) with the appropriate text.

{{Line/SNS
|icon=[Character's first name] OR name of the file
|character=[Character's SNS display name]
|dialogue=[Text of SNS post, if applicable]
|tags=[Hashtags in SNS post eg #hello<br />#hello OR #hello #hi]
|likes=[Number eg 9]
|image=[Name of image file WITHOUT '.png' extension and 'File:' prefix eg. Event Name Episode 1]
|plain=[Hide image side eg y]
}}
YukiYou're too honest
Izumi
Guys, did you all eat New Year soba?
Juza Hyodo
LIME Icon Juza.png
I did
Tasuku Takato
LIME Icon Tasuku.png
I'm eating this moment
Omi Fushimi
LIME Icon Omi.png
I've just finished, and now I'm doing preparations for tomorrow
YukiYou're too honest
300px

👍 💬
9 likes

LIME Icon Kazunari.png
Kaz-PIKO

I've
#test
#testing

YukiYou're too honest

👍 💬

LIME Icon Kazunari.png
Kaz-PIKO

I've
#test
#testing