User:CIA391/Sandbox2: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
Line 1: Line 1:
This page is currently holding stuff that will be useful to keep for later stuff.
This page is currently holding stuff that will be useful to keep for later stuff.
==Template work==
===Current Navboxes we use===
*[[Template:Navbox]]: Problem is it doesnt work on Mobile. But allows easy editing.
*[[Template:Container]]: Problem is it doesnt allow easy editing. But appears on mobile.
===Current Navbox examples===
===Examples===
{{Mjolnir}}
{{Policies}}
===WIPS===
*[[User:CIA391/Sandbox4/Template]] (Container base)
*[[User:CIA391/Sandbox4/Template2]] (Navbox base)
*[[User:CIA391/Sandbox4/HaloNationTemplate]] (Will not use on our wiki just wanna play with it to see how I can follow a few ideas it uses.) (Navbox base)
*[[Template:Navbar]] (Will not use on our wiki just wanna play with it to see how I can follow a few ideas it uses.) (Navbox base)
*[[Template:Transclude]] (Will not use on our wiki just wanna play with it to see how I can follow a few ideas it uses.) (Navbox base)
*[[User:CIA391/Sandbox4/TemplateFinal]] (My main wip)
===Using the wips===
====Halopedia Navbox====
{{User:CIA391/Sandbox4/Template2
|name=Mjolnir/Mark IV
|state=collapsed
|title=''[[MJOLNIR Powered Assault Armor/Mark IV|Mark IV]]''
|style= width:100%; background:transparent; border: 1px solid #222; text-align:center; margin-top:0px !important;
|titlestyle= background:#5D8AA8; color:#FFF; font-size:90%; border-radius:.5em;
|groupstyle= width:20%; background:#ABCDEF; border-radius:.5em 0 0 .5em;
|liststyle= background:#FFFFFF; color:#000000; border-radius:0 .5em .5em 0;
|list1=[[AIR_ASSAULT-class_Mjolnir|AA''(Air Assault)'']] • [[B-class_Mjolnir|B]] • [[CQC-class_Mjolnir|CQC]] • [[EOD-class_Mjolnir|EOD]] • [[GRENADIER-class_Mjolnir|G''(Grenadier)'']] • [[COMMANDO-class_Mjolnir|K''(Commando)'']] • [[OPERATOR-class_Mjolnir|Operator]] • [[PILOT-class Mjolnir|Pilot]] • [[SCOUT-class Mjolnir|S''(Scout)'']] • [[EVA-class_Mjolnir|V''(EVA)'']]}}
====Halo nation template====
User:CIA391/Sandbox4/HaloNationTemplate
====Halopedia Container====
{{User:CIA391/Sandbox4/Template|style-content=border-radius: 0 0 .5em .5em; padding: 0; background:#FAFAFA;|title=[[:Category:Halopedia policies|<span style="color:#FFF;">Policies of Halopedia</span>]]|{{Hide|title=Article policies|style1=width:100%; border:1px solid #999999; background:transparent;|style3=padding:4px 6px; text-align:center;|[[Halopedia:Canon Policy|Canon]] • [[Halopedia:Notability Policy|Notability]] • [[Halopedia:Spoilers Policy|Spoilers]]}}
{{Hide|title=User policies|style1=width:100%; border:1px solid #999999; background:transparent;|style3=padding:4px 6px; text-align:center;|[[Halopedia:Blocking Policy|Blocking]] • [[Halopedia:CheckUser|Check User]] • [[Halopedia:Signature Policy|Signature]] • [[Halopedia:Requests for Adminship|Requests for Adminship]] • [[Halopedia:Voting Policy|Voting]]}}
{{Hide|title=Site policies|style1=width:100%; border:1px solid #999999; background:transparent;|style3=padding:4px 6px; text-align:center;|[[Halopedia:General Disclaimer|General Disclaimer]] • [[Halopedia:Privacy Policy|Privacy Policy]] • [[Halopedia:Bots|Bots]] • [[Halopedia:Copyright|Copyright]] • [[Halopedia:Deletion Policy|Deleting]] • [[Halopedia:Image Policy|Images]] • [[Halopedia:Protected Page Policy|Protected Page]] • [[Halopedia:What Halopedia is not|What Halopedia is not]]}}
{{Hide|title=Guidelines|style1=width:100%; border:1px solid #999999; background:transparent;|style3=padding:4px 6px; text-align:center;|[[Halopedia:Manual of Style|Manual of Style]] • [[Halopedia:Layout Guide|Layout Guide]] • [[Halopedia:Citation Policy|Referencing]] • [[Halopedia:Vandalism is not a game|About vandalism]] • [[Halopedia:Education Center for Vandalism|Dealing with vandalism]] • [[Halopedia:Projects|Projects]]}}
}}


==Discord test==
==Discord test==

Revision as of 16:57, August 25, 2017

This page is currently holding stuff that will be useful to keep for later stuff.

Discord test

This is my test harness for Discord and to get it working http://dev.wikia.com/wiki/DiscordIntegrator

To get Discord to show on Halopedia we need two things.

  • 1. Pretty much we need to activate Javascript on here.
  • 2. Get the id of the Halopedia Discord.

After we chosen that. We then go onto what size we want the discord to be, and if we will use a light or dark theme.

MediaWiki:ImportJS

Experiments to get the integrator working MediaWiki:ImportJS MediaWiki:DiscordIntegrator/code.js

Premade template I made

Template:DiscordIntegrator

Template code

My test server

Template:DiscordIntegrator

Halopedia

Template:DiscordIntegrator

Twitter

This will be my test area for Twitter after I get Discord working.