Jump to content

Template:Refgram: Difference between revisions

57 bytes added ,  15:33, 3 December 2023
rewrite to use template:feature and add demonstration
(handle spaces in fragment)
(rewrite to use template:feature and add demonstration)
 
Line 6: Line 6:
#
#
#; fragment name (optional) : Such as <code>the cleft verb</code> to link to <code><nowiki>https://.../syntax/#the_cleft_verb</nowiki></code>.
#; fragment name (optional) : Such as <code>the cleft verb</code> to link to <code><nowiki>https://.../syntax/#the_cleft_verb</nowiki></code>.
<div style="padding: 0.5em; border: 1px solid black;">
{{refgram|syntax|the cleft verb}}
Lorem ipsum dolor
<div style="clear: right;"></div>
</div>
</noinclude><includeonly
</noinclude><includeonly
><div class=float-right
>{{feature|More on this in the [[refgram]]
>
|[https://toaq.net/refgram/{{{1}}}/{{#if:{{{2|}}}|&#x23;{{#replace:{{{2}}}|<nowiki> </nowiki>|_}}|}} {{ucfirst:{{{1}}}}}{{#if: {{{2|}}}|<nowiki>:</nowiki> {{ucfirst:{{{2}}}}}|}}]
{{{!}} class=wikitable
}}</includeonly>
! More on this in the [[refgram]]
{{!}}-
{{!}} style=text-align:center {{!}} [https://toaq.net/refgram/{{{1}}}/{{#if:{{{2|}}}|&#x23;{{#replace:{{{2}}}|<nowiki> </nowiki>|_}}|}} {{ucfirst:{{{1}}}}}{{#if: {{{2|}}}|<nowiki>:</nowiki> {{ucfirst:{{{2}}}}}|}}]
{{!}}}</div></includeonly>