User:GrayBeard Actual/Sandbox
Subpages Menu | |
---|---|
To-Do | |
Sandbox | |
Cheatsheet | |
Diagnostics Pages | |
Notebook | |
DPL Archive | |
My Sig |
Other Sandbox Pages
Checking for Subpages
<div style="margin: 0 auto; background-color: rgba(255, 255, 255, 0.4); border: 1px solid #AAAAAA; border-radius: 11px 11px 11px 11px; padding: 1em;"> {{#ifexist: {{PAGENAME}}/Sandbox |<p style="margin: 0">subpage exists: {{PAGENAME}}/Sandbox </p> |<p class="plainlinks" style="margin: 0">Subpage does not exist: {{PAGENAME}}/Sandbox</p> }} </div>
Testing Font Awesome
Testing Font Awesome
Testing Font Awesome (otf) i class: Unicode:
Testing without font awesome
i class: Unicode:
Testing section transclusion
DPL Error, Github issue: https://github.com/HydraWiki/DynamicPageList/issues/59
Full instructions: https://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion
Marking Page
On the page containing the section to be pulled, use something similar to: <section begin=chapter1 />This is text that can be transcluded elsewhere, by referencing "chapter1"<section end=chapter1 />
Transcluding (pulling) Page Here
Pulling the purge link from the bottom of User:GrayBeard_Actual/Cheatsheet using {{#lst:User:GrayBeard_Actual/Cheatsheet|chapter1}}
:
<div class="plainlinks" style="float: right; margin-left: 5px">[[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]</div>
Transcluding Entire Section Here
Pulling /* Notes */ section from User:GrayBeard_Actual/Cheatsheet using {{#lsth:User:GrayBeard_Actual/Cheatsheet|Notes}}
View Barnstars
Kill The Grid Barnstar |
Awarded for removing the old crafting grid from numerous pages. Your great work is appreciated!
[[File:grid-barnstar.png|100px]]
Awarded for removing the old crafting grid from numerous pages. Your great work is appreciated!
Test template:List_subpages
Barebones list of subpages:
{{#ifexist:{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}} |{{Special:Prefixindex/{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}}/}} }}
Even better [1]
{{Special:PrefixIndex/{{FULLPAGENAME}}/}}
Selected Links
Possibly a new section for the main page:
<pre><div class="feature" id="mf-links">
{{heading|Selected Links}}
</div></pre>
RSS transclusion
Reference: https://www.mediawiki.org/wiki/Extension:RSS#Usage
Example: <rss max=4 highlight="community wiki foundation">https://blog.wikimedia.org/feed/</rss>
<rss max=4>http://7daystodie.gamepedia.com/api.php?action=feedcontributions&user=178.137.153.29&feedformat=atom</rss>
References
<references>