Difference between revisions of "Form:WpPage"

From Wikispooks
Jump to navigation Jump to search
(Stub explanation)
(Try fix with subst: (The idea is that, if (and only if:) a similarly named page already exists, then it sets that as the default)
Line 14: Line 14:
 
|-
 
|-
 
|style="font-size: 166%; background-color: #DFDFFF; border: 1px solid #aaaaaa; padding: 0.4em; "|<small><small>'''Main Page''' ''(If available)''</small></small>:<br/>
 
|style="font-size: 166%; background-color: #DFDFFF; border: 1px solid #aaaaaa; padding: 0.4em; "|<small><small>'''Main Page''' ''(If available)''</small></small>:<br/>
[[Image:WsIcon32.png]] '''{{{field|WsLink0|default={{#ifexist {{subst:{{PAGENAME}} }}| {{subst:{{PAGENAME}} }}| }}|size=48}}}'''
+
[[Image:WsIcon32.png]] '''{{{field|WsLink0|default={{subst:#ifexist {{subst:{{PAGENAME}} }}| {{subst:{{PAGENAME}} }}| }}|size=48}}}'''
 
|style="font-size: 166%; border: 1px solid #aaaaaa; padding: 0.4em; "| <small><small>'''Wikipedia Page'''</small></small>:<br/>[[Image:WpIcon32.png|link=http://en.wikipedia.org/wiki/{{PAGENAMEE}}|alt={{{WsLink0}}}]] '''[http://en.wikipedia.org/wiki/{{PAGENAMEE}} {{PAGENAME}}]'''
 
|style="font-size: 166%; border: 1px solid #aaaaaa; padding: 0.4em; "| <small><small>'''Wikipedia Page'''</small></small>:<br/>[[Image:WpIcon32.png|link=http://en.wikipedia.org/wiki/{{PAGENAMEE}}|alt={{{WsLink0}}}]] '''[http://en.wikipedia.org/wiki/{{PAGENAMEE}} {{PAGENAME}}]'''
 
|rowspan="2"|{{WpBadge}}
 
|rowspan="2"|{{WpBadge}}

Revision as of 05:28, 2 September 2011

Template:WpBadge This is the "Wikipedia Page" creation and editing form.

  • To create a page with this form, enter the page name below.
  • if a page with that name already exists, you will be sent to a form to edit that page.

Note: The page name MUST be prefixed with Wikipedia: - per the box default when originally loading this page.