User:GrayBeard Actual/Sandbox

From 7 Days to Die Wiki
Jump to: navigation, search
Some items' or groups' chance to drop changes according to the player's gamestage. Here you can see those values for any gamestage you want using the little box below. Just type the gamestage you want in the box and press the Apply!-button. The values should change immediately, if the chance is different.


Other Sandbox Pages

Checking for Subpages[edit | edit source]

<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[edit | edit source]

Testing Font Awesome

Testing Font Awesome (otf) i class: Unicode: 

Testing without font awesome

i class: Unicode: 

Testing section transclusion[edit | edit source]

DPL Error, Github issue: https://github.com/HydraWiki/DynamicPageList/issues/59

Full instructions: https://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion

Marking Page[edit | edit source]

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[edit | edit source]

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[edit | edit source]

Pulling /* Notes */ section from User:GrayBeard_Actual/Cheatsheet using {{#lsth:User:GrayBeard_Actual/Cheatsheet|Notes}}

View Barnstars[edit | edit source]

Grid-barnstar-v2.png Grid-barnstar.png

Grid-barnstar.png
Kill The Grid Barnstar

Awarded for removing the old crafting grid from numerous pages. Your great work is appreciated!

[[File:grid-barnstar.png|100px]]

Grid-barnstar.png Kill The Grid Barnstar

Awarded for removing the old crafting grid from numerous pages. Your great work is appreciated!

Test template:List_subpages[edit | edit source]

Barebones list of subpages:

{{#ifexist:{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}}
  |{{Special:Prefixindex/{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}}/}}
}}

Even better [1]

{{Special:PrefixIndex/{{FULLPAGENAME}}/}}

Selected Links[edit | edit source]

Possibly a new section for the main page:

<pre><div class="feature" id="mf-links"> {{heading|Selected Links}} </div></pre>

RSS transclusion[edit | edit source]

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[edit | edit source]

<references>