User:Momazona/Sandbox

From Wikipedia, the free encyclopedia

The handy box to the right[edit]

The box displayed is the result of using {{Guideline list}}. I can tinker with the code and see how it affects the box by using the code below. Guideline list is a template, and I need a similar template, and that's what a sandbox is for right? Here's the code:

{|style="padding:0.3em; margin-left:15px; border:1px solid #A3B1BF; background:#f5faff; text-align:center; font-size:95%; line-height1.5em;" width="160px" align="right"
!style="background:#cedff2; padding:0.3em;"|[[CAT:G| Wikipedia Guidelines]]
|- 
|style="padding:0.1em; font-size:0.9em; background-color:#cedff2"|Content
|-
|
[[Wikipedia:Autobiography|Autobiography]]<br />
[[Wikipedia:Don't include copies of primary sources|Don't copy sources]]<br />
[[Wikipedia:Disambiguation|Disambiguation]]<br/>
[[Wikipedia:Don't create hoaxes|Don't create hoaxes]]<br />
[[Wikipedia:Patent nonsense|Patent nonsense]]
|- 
|style="padding:0.1em; font-size:0.9em; background-color:#cedff2"|Classification
|-
|
[[Wikipedia:Subpages|Subpages]]<br />
[[Wikipedia:Categories, lists, and series boxes|Cats, lists, boxes]]<br />
[[Wikipedia:List guideline|Lists]]<br />
[[Wikipedia:Categorization|Categories]]
|- 
|style="padding:0.1em; font-size:0.9em; background-color:#cedff2"|Editing
|-
|
[[Wikipedia:Be bold in updating articles|Be Bold]]<br />
[[Wikipedia:Build the web|Build the web]]<br />
[[Wikipedia:Edit summary|Edit summary]]<br />
[[Wikipedia:Article size|Article size]] 
|- 
|style="padding:0.1em; font-size:0.9em; background-color:#cedff2"|Discussion
|-
|
[[Wikipedia:Talk page guidelines|Talk page guidelines]]<br />
[[Wikipedia:Sign your posts on talk pages|Sign on talk pages]]<br />
[[Wikipedia:Consensus|Build consensus]]<br />
[[Wikipedia:Conflict of interest|Conflict of interest]]
|- 
|style="padding:0.1em; font-size:0.9em; background-color:#cedff2"|Behavior
|-
|
[[Wikipedia:Etiquette|Etiquette]]<br />
[[Wikipedia:Profanity|Profanity]]<br />
[[Wikipedia:Do not disrupt Wikipedia to illustrate a point|Do not disrupt Wikipedia to illustrate a point]]<br />
[[Wikipedia:Please do not bite the newcomers|Don't bite the newcomers]]<br />
[[Wikipedia:User page|User page]]
|- 
|style="padding:0.1em; font-size:0.9em; background-color:#cedff2"|Style
|-
|[[Wikipedia:Manual of Style|Manual of style]]
----
<span style="font-size:0.8em;"> See also [[CAT:P|policies]]</span>
|}

Style-guideline[edit]

The Manual of Style is connected exactly the way I want my pages to connect to one another. It looks like it allows for serious cross referencing and everything. Here's the code from {{subst:Style-guideline}}:

{| class="messagebox"
|-
| style="font-size:36px" | [[Image:Blue check.png|30px|✔]]
||'''This page is part of the [[Wikipedia:Manual of Style|Manual of Style]], and is considered a [[Wikipedia:Policies and guidelines|guideline]] for Wikipedia.''' The [[Wikipedia:Consensus|consensus]] of many editors formed the conventions described here, and Wikipedia articles should heed these guidelines.  Before making any major changes to these guidelines, please use the [[{{NAMESPACE}} talk:{{PAGENAME}}|discussion page]] to ensure that your changes reflect consensus.
| {{#if:{{{1|}}} | {{shortcut|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} }} }}
|}
{{#ifeq:{{{SubjSpec|no}}}|yes
|{{{category|[[Category:Wikipedia style guidelines|{{#if:{{{sortkey|}}}
  |{{{sortkey}}}
  |{{PAGENAME}}
  }}
 ]]}}}
|{{{category|[[Category:Wikipedia style guidelines|{{#if:{{{sortkey|}}}
  |{{{sortkey}}}
  |{{PAGENAME}}
  }}
 ]]}}}
}}

Footers[edit]

I'm also trying to understand automagically including footers on related pages. I'm sure a template is the way to do all of these things, but I'm still trying to see how it works.