Widget:Pikcross: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>This widget allows you to embed the ''[[Pikipedia:April Fool's Day/Pikcross|Pikcross]]'' game. Assets: | <noinclude>This widget allows you to embed the ''[[Pikipedia:April Fool's Day/Pikcross|Pikcross]]'' game. Optional parameter: '''center'''. Assets: | ||
* [[MediaWiki:Pikcross.js|JavaScript]] | * [[MediaWiki:Pikcross.js|JavaScript]] | ||
* [[:File:Pikcross spritesheet.png|Spritesheet]]</noinclude><includeonly><div style="overflow-x:auto;overflow-y:clip"> | * [[:File:Pikcross spritesheet.png|Spritesheet]]</noinclude><includeonly><div style="overflow-x:auto;overflow-y:clip"> | ||
<div id="pikcross"></div> | <div id="pikcross" style="<!--{if isset($center)}-->margin:auto<!--{/if}-->"></div> | ||
</div><script src="https://www.pikminwiki.com/MediaWiki:Pikcross.js?action=raw&ctype=text/javascript"></script><script> | </div><script src="https://www.pikminwiki.com/MediaWiki:Pikcross.js?action=raw&ctype=text/javascript"></script><script> | ||
pikcrossSetup(); | pikcrossSetup(); | ||
</script></includeonly> | </script></includeonly> |
Revision as of 20:01, March 31, 2023
This widget allows you to embed the Pikcross game. Optional parameter: center. Assets: