Difference between revisions of "Template:Centralized discussion/core/test1"

From blackwiki
Jump to navigation Jump to search
imported>Davidgothberg
(Adding "text-align:center;" for the header, since User:DragonHawk didn't see it centred. Hiding the "Proposals" header also when "compact=yes", per suggestion from DragonHawk.)
imported>Davidgothberg
(Temporarily disabling the "text-align:center;" for the header, so I can test what browsers have the centring problem.)
Line 1: Line 1:
 
<table id="Centralized_discussion" style="float:{{#if:{{{float|}}}|{{{float|}}}|right}}; margin:0.2em 0.5em; width:{{#if:{{{width|}}}|{{{width|}}}|45%}}; border-collapse:collapse; border:1px solid #BEBEBE; background:#FFF;">
 
<table id="Centralized_discussion" style="float:{{#if:{{{float|}}}|{{{float|}}}|right}}; margin:0.2em 0.5em; width:{{#if:{{{width|}}}|{{{width|}}}|45%}}; border-collapse:collapse; border:1px solid #BEBEBE; background:#FFF;">
<tr><th style="background:#adf; padding:3px 5px; text-align:center;" colspan="3"> [[Wikipedia:Centralized discussion|Centralized discussion]]
+
<tr><th style="background:#adf; padding:3px 5px; t_text-align:center;" colspan="3"> [[Wikipedia:Centralized discussion|Centralized discussion]]
 
{{#switch: {{{compact|}}}
 
{{#switch: {{{compact|}}}
 
| yes
 
| yes

Revision as of 20:38, 24 April 2009

Centralized discussion
48px
Proposals Discussions Recurring proposals

{{{1}}}

archiveTemplate:• talkTemplate:• editTemplate:• historyTemplate:• watch

David's sandbox for {{cent/core}}

Here David Göthberg is testing and showing new code versions. Please do not edit this page. If you want to experiment do so in {{cent/core/sandbox}} or create your own subpage under {{cent/core}} or in your own user space.

Test examples

The box above is template code on this page, the boxes below are transclusions of this page and show how that code renders when used. If you have updated the code above (but you really shouldn't) then you have to Script error: No such module "Purge". this page to see the effect on the examples below.

You can try how these boxes look in different skins:

Template:Selectskin

Try resizing your browser so it becomes thinner and thinner, and see how nicely these boxes behave when they shrink. That's needed since some Wikipedia editors use lower screen resolutions.

Centralized discussion
48px
Proposals Discussions Recurring proposals
archiveTemplate:• talkTemplate:• editTemplate:• historyTemplate:• watch

Normal usage.


Centralized discussion
archiveTemplate:• talkTemplate:• editTemplate:• historyTemplate:• watch

compact = yes


Centralized discussion

compact = very


Centralized discussion
48px
Proposals Discussions Recurring proposals
archiveTemplate:• talkTemplate:• editTemplate:• historyTemplate:• watch

float = left


Centralized discussion

float = left

compact = very


Centralized discussion
48px
Proposals Discussions Recurring proposals
archiveTemplate:• talkTemplate:• editTemplate:• historyTemplate:• watch

width = 200px