Template:Example: Difference between revisions
Content added Content deleted
imported>FrozenPlum m (dump the plainlinks span, will do it a differenet way) |
imported>FrozenPlum m (make the first parmeter be preloadtitle) |
||
Line 1: | Line 1: | ||
<div class="demo-inputbox-wrapper"> |
<div class="demo-inputbox-wrapper"> |
||
<div class="demo-viewpage"> |
<div class="demo-viewpage"> |
||
[{{fullurl:Special:Mypage/Sandbox|action=edit}}§ion=new&preloadtitle= |
[{{fullurl:Special:Mypage/Sandbox|action=edit}}§ion=new&preloadtitle={{urlencode:{{{1}}}}}&preload={{#if:{{{base|}}}|{{{base}}}|{{urlencode:{{FULLPAGENAME}}}}}}/{{#if:{{{noparam|}}}|<!-- not empty -->|Parameter:_}}{{{1|}}}_(example{{#if:{{{eg|}}}|_{{{eg|}}}|_1}}) Test in sandbox]<!-- |
||
-- correct working URL (without params) -- |
-- correct working URL (without params) -- |
||
[{{fullurl:Special:Mypage/Sandbox|action=edit}}§ion=new&preloadtitle=New_Header&preload=Criteria for page selection/Example Test in sandbox]--> |
[{{fullurl:Special:Mypage/Sandbox|action=edit}}§ion=new&preloadtitle=New_Header&preload=Criteria for page selection/Example Test in sandbox]--> |
Revision as of 00:57, 7 April 2022
tests
{{example|category|base=Criteria for page selection|eg=2}}
gives
{{example|category|base=Criteria for page selection}}
gives