Jump to content

Bharatpedia:Transclusion: Difference between revisions

No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
Line 77: Line 77:
|old = <span style="display:inline-block;padding:0 .5em;line-height:1.80em;border:1px solid;border-radius:3px;text-align:center;">[[File:Symbol thumbs up.svg |text-top|link=|alt=👍|16px]]&nbsp;{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}</span>
|old = <span style="display:inline-block;padding:0 .5em;line-height:1.80em;border:1px solid;border-radius:3px;text-align:center;">[[File:Symbol thumbs up.svg |text-top|link=|alt=👍|16px]]&nbsp;{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}</span>
|fb = <span style="display:inline-block;padding:0 .5em;line-height:1.80em;cursor:pointer;font-weight:bold; font-family:'Helvetica',Arial,sans-serif; border-radius:3px; background:#1877f2; text-align:center;">[[File:Facebook like thumb.png |text-top|link=|alt=👍|16px]]&nbsp;<span style="color:#fff;">{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}</span></span>
|fb = <span style="display:inline-block;padding:0 .5em;line-height:1.80em;cursor:pointer;font-weight:bold; font-family:'Helvetica',Arial,sans-serif; border-radius:3px; background:#1877f2; text-align:center;">[[File:Facebook like thumb.png |text-top|link=|alt=👍|16px]]&nbsp;<span style="color:#fff;">{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}</span></span>
|[[File:Wikipedia like SVG.svg |25px|link=|alt=👍]] '''{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}'''}}</syntaxhighlight> is saved, it would substitute that wikitext with the actual wikitext from the [[Template:Like]]. In practice, the main difference that this makes is that if an update happened to the wikitext of the Template:Like, it would not update any pages where <syntaxhighlight lang="wikitext" inline>{{#switch:{{lc:}}
|[[File:Bharatpedia like SVG.svg |25px|link=|alt=👍]] '''{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}'''}}</syntaxhighlight> is saved, it would substitute that wikitext with the actual wikitext from the [[Template:Like]]. In practice, the main difference that this makes is that if an update happened to the wikitext of the Template:Like, it would not update any pages where <syntaxhighlight lang="wikitext" inline>{{#switch:{{lc:}}
|old = <span style="display:inline-block;padding:0 .5em;line-height:1.80em;border:1px solid;border-radius:3px;text-align:center;">[[File:Symbol thumbs up.svg |text-top|link=|alt=👍|16px]]&nbsp;{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}</span>
|old = <span style="display:inline-block;padding:0 .5em;line-height:1.80em;border:1px solid;border-radius:3px;text-align:center;">[[File:Symbol thumbs up.svg |text-top|link=|alt=👍|16px]]&nbsp;{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}</span>
|fb = <span style="display:inline-block;padding:0 .5em;line-height:1.80em;cursor:pointer;font-weight:bold; font-family:'Helvetica',Arial,sans-serif; border-radius:3px; background:#1877f2; text-align:center;">[[File:Facebook like thumb.png |text-top|link=|alt=👍|16px]]&nbsp;<span style="color:#fff;">{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}</span></span>
|fb = <span style="display:inline-block;padding:0 .5em;line-height:1.80em;cursor:pointer;font-weight:bold; font-family:'Helvetica',Arial,sans-serif; border-radius:3px; background:#1877f2; text-align:center;">[[File:Facebook like thumb.png |text-top|link=|alt=👍|16px]]&nbsp;<span style="color:#fff;">{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}</span></span>
|[[File:Wikipedia like SVG.svg |25px|link=|alt=👍]] '''{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}'''}}</syntaxhighlight> had already been saved.
|[[File:Bharatpedia like SVG.svg |25px|link=|alt=👍]] '''{{#if:| {{PLURAL:|user likes|users like}} this.|{{#if:| [[User:|User:]] likes this.|Like}}}}'''}}</syntaxhighlight> had already been saved.


===Magic words===
===Magic words===