Template:Example: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (fix my fix lol)
imported>FrozenPlum
m (dump the plainlinks span, will do it a differenet way)
Line 1: Line 1:
<div class="demo-inputbox-wrapper">
<div class="demo-inputbox-wrapper">
<div class="demo-viewpage">
<div class="demo-viewpage">
<span class="plainlinks">[{{fullurl:Special:Mypage/Sandbox|action=edit}}&section=new&preloadtitle=New_Header&preload={{#if:{{{base|}}}|{{{base}}}|{{urlencode:{{FULLPAGENAME}}}}}}/{{#if:{{{noparam|}}}|<!-- not empty -->|Parameter:_}}{{{1|}}}_(example{{#if:{{{eg|}}}|_{{{eg|}}}|_1}}) Test in sandbox]</span><!--
[{{fullurl:Special:Mypage/Sandbox|action=edit}}&section=new&preloadtitle=New_Header&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}}&section=new&preloadtitle=New_Header&preload=Criteria for page selection/Example Test in sandbox]-->
[{{fullurl:Special:Mypage/Sandbox|action=edit}}&section=new&preloadtitle=New_Header&preload=Criteria for page selection/Example Test in sandbox]-->

Revision as of 00:47, 7 April 2022


tests

  • {{example|category|base=Criteria for page selection|eg=2}} gives
  • {{example|category|base=Criteria for page selection}} gives