Sandbox/Template Tests: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(Testing a different way to handle section transclusions. (Doesn't work.))
m (→‎Represent The People - Edit Box Tests: Testing hiding "improve" edit link but seeing if a full uri still edits the section.)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''[[Template:Box-header]] Examples'''
== [[Template:Box-header]] Examples ==


; The box below contains a snippet of text copied from an article and pasted into the box.
; The box below contains a snippet of text copied from an article and pasted into the box.
Line 6: Line 6:


{{Box-header
{{Box-header
| title= Represent The People
| title=Represent The People
| editpage= Represent The People
| editpage=Represent The People
| titleforeground=
| titleforeground=
| titlebackground=
| titlebackground=
| background=
| background=
| viewpage= Represent The People
| viewpage=Represent The People
}}
}}
Politicians in the United States, particularly at the national level, have long since failed to '''represent the interests of everyday working people'''. One could make a strong argument that this observable condition has persisted since the founding of the Republic. Even so, U.S. political culture has veered sharply away from the interests of ordinary people in the years following the now infamous [[wikipedia:Lewis F. Powell, Jr.#Powell Memorandum|Powell Manifesto]].<ref>[http://reclaimdemocracy.org/corporate_accountability/powell_memo_lewis.html Powell Memo: Text and Analysis] | [http://reclaimdemocracy.org/ ReclaimDemocracy.org]</ref> Since that time, relentless promotion of pro-business, “free market” dogma has systematically suppressed, often violently, all competitive social, economic and political ideologies.
Politicians in the United States, particularly at the national level, have long since failed to '''represent the interests of everyday working people'''. One could make a strong argument that this observable condition has persisted since the founding of the Republic. Even so, U.S. political culture has veered sharply away from the interests of ordinary people in the years following the now infamous [[wikipedia:Lewis F. Powell, Jr.#Powell Memorandum|Powell Manifesto]].<ref>[http://reclaimdemocracy.org/corporate_accountability/powell_memo_lewis.html Powell Memo: Text and Analysis] | [http://reclaimdemocracy.org/ ReclaimDemocracy.org]</ref> Since that time, relentless promotion of pro-business, “free market” dogma has systematically suppressed, often violently, all competitive social, economic and political ideologies.
{{Reflist}}
{{Reflist}}
{{Box-footer|[[Represent The People|>>> ''read more'' >>>]]}}
{{Box-footer|[[Represent The People|>>> ''read more'' >>>]]}}
=== Represent The People - Edit Box Tests ===__NOEDITSECTION__
<span class="plainlinks">[http://portlandwiki.org/index.php?title=Sandbox/Template_Tests&action=edit&section=2 edit section 2]</span>


; The box below contains a snippet of text copied from an article and pasted into the box.
; The box below contains a snippet of text copied from an article and pasted into the box.
:- The "edit" link links to this sandbox's edit screen.
:- The "edit" link links to [[Sandbox/Template Tests|this sandbox's]] edit screen.
:- There '''is no''' "view" link.
:- There '''is no''' "view" link.
:- The "read more" link links to the article.
:- The "read more" link links to the article.


{{Box-header
{{Box-header
| title= Represent The People
| title=Represent The People
| editpage= Sandbox/Template Tests
| editpage=Sandbox/Template Tests
| titleforeground=
| titleforeground=
| titlebackground=
| titlebackground=
Line 38: Line 41:


{{Box-header
{{Box-header
| title= Represent The People
| title=Represent The People
| editpage= Represent The People
| editpage=Represent The People
| titleforeground=black
| titleforeground=black
| titlebackground=pink
| titlebackground=pink
Line 54: Line 57:


{{Box-header
{{Box-header
| title= Represent The People
| title=Represent The People
| editpage= Represent The People
| editpage=Represent The People
| section=1<!-- Must use the section number shown in the document URL. Example shown is the last portion of this "edit mode" URL: http://www.portlandwiki.org/index.php?title=Represent_The_People&action=edit&section=1 -->
| section=1<!-- Must use the section number shown in the document URL. Example shown is the last portion of this "edit mode" URL: http://www.portlandwiki.org/index.php?title=Represent_The_People&action=edit&section=1 -->
| titleforeground=black
| titleforeground=black
Line 66: Line 69:
{{Box-footer|[[Represent The People#Lying_With_Forked_Tongue|>>> ''read more'' >>>]]}}
{{Box-footer|[[Represent The People#Lying_With_Forked_Tongue|>>> ''read more'' >>>]]}}


;Quote example.
{{Box-header
| title=The Quotes of Quotes
| editpage=Box-header/sample
| titleforeground=white
| titlebackground=red
| background=white
}}
{{Box-header/sample}}
<references/>
{{Box-footer|[[wikipedia:William Shakespeare|William Shakespeare]]}}


----
== [[Template:Box top]] Examples ==
 
 
'''[[Template:Box top]] Examples (shown below)'''
<!-- 4-CELL TABLE -->  
<!-- 4-CELL TABLE -->  
{| style="border-spacing: 10px; clear: both;"
{| style="border-spacing: 10px; clear: both;"
Line 76: Line 87:
| <!-- TOP LEFT --> style="width: 50%;" |
| <!-- TOP LEFT --> style="width: 50%;" |
{{ box top  
{{ box top  
| page to edit = Represent The People#The_Abuser.2C_The_Abused.2C_And_You
| section number =9
| title = What I did today
| title = What I did today
| title color = #228
| title color = #228
Line 86: Line 99:
| <!-- TOP RIGHT --> style="width: 50%;" |
| <!-- TOP RIGHT --> style="width: 50%;" |
{{ box top  
{{ box top  
| page to edit = Sandbox/Template Tests
| section number = 2
| title = Flip, and also flurp
| title = Flip, and also flurp
| title color = #822
| title color = #822
Line 121: Line 136:
|}
|}


== [[Template:Cartella]] Examples ==
; These be broken...
{{cartella|
|titolo=|Fur Purr
|logo=|nologo
|px=|nopix
|heightpx=|nohtpx
|link=|
|contenuto=The furry kitten likes to purr.}}


{{Box-header
{{cartella|</tt>
| title= The Quotes of Quotes
|titolo=</tt>|
| editpage= Box-header/sample
|logo=</tt>|
| titleforeground= white
|px=</tt>|
| titlebackground= red
|heightpx=</tt>|
| background= white
|link=</tt>|
}}
|contenuto=</tt>}}
 
{{Box-header/sample}}
<references/>
{{Box-footer| [[William Shakespeare]] }}

Latest revision as of 18:51, 5 October 2012

Template:Box-header Examples

The box below contains a snippet of text copied from an article and pasted into the box.
- The "edit" link links to the article's main edit screen.
- The "view" and "read more" links link to the article.

Represent The People

Politicians in the United States, particularly at the national level, have long since failed to represent the interests of everyday working people. One could make a strong argument that this observable condition has persisted since the founding of the Republic. Even so, U.S. political culture has veered sharply away from the interests of ordinary people in the years following the now infamous Powell Manifesto.[1] Since that time, relentless promotion of pro-business, “free market” dogma has systematically suppressed, often violently, all competitive social, economic and political ideologies.

Represent The People - Edit Box Tests

edit section 2

The box below contains a snippet of text copied from an article and pasted into the box.
- The "edit" link links to this sandbox's edit screen.
- There is no "view" link.
- The "read more" link links to the article.

Represent The People

Politicians in the United States, particularly at the national level, have long since failed to represent the interests of everyday working people. One could make a strong argument that this observable condition has persisted since the founding of the Republic. Even so, U.S. political culture has veered sharply away from the interests of ordinary people in the years following the now infamous Powell Manifesto.[1] Since that time, relentless promotion of pro-business, “free market” dogma has systematically suppressed, often violently, all competitive social, economic and political ideologies.

The box below contains a snippet of text transcluded from an article using Labeled Section Transclusion.
- The "edit" link links to the article's main edit screen.
- The "view" and "read more" links link to the article.

Represent The People

{{#section:Represent The People|intro}}

The box below contains an entire section transcluded from an article using Labeled Section Transclusion.
- The "edit" link links to the article's edit screen for the section it's transcluding.
- The "view" and "read more" links link to the article's transcluded section.

Represent The People

{{#section:Represent The People|forked}}

Quote example.

The Quotes of Quotes

Doubt thou the stars are fire. Doubt that the sun doth move. Doubt truth to be a liar. But never doubt my love.

Template:Box top Examples

What I did today

Example text. Today I woke up, brushed my teeth, and got dressed. then I went to work. Then I edited PortlandWiki at work all day until the boss caught me and now I'm out of a job. Thanks, PortlandWiki!

Flip, and also flurp

Flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip flurp flip.

Nothing of interest

Foo

bar

baz

Bottom right

Example text. Today I woke up, brushed my teeth, and got dressed. then I went to work. Then I edited PortlandWiki at work all day until the boss caught me and now I'm out of a job. Thanks, PortlandWiki!

Template:Cartella Examples

These be broken...
Background
[[File:|px]]
'

The furry kitten likes to purr.

Background
[[File:|px]]
<div style="padding-left:43px; margin-top:-px; font-size:130%">