NATION

PASSWORD

[Forum coding] Want help.

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Davinhia
Minister
 
Posts: 2024
Founded: Nov 18, 2013
Civil Rights Lovefest

[Forum coding] Want help.

Postby Davinhia » Mon Jul 21, 2014 12:59 am

Not sure if correct forum, so if it isn't please move it.

I recently came across somebody posting a link. They made the link say [INSERTNAMEHERE]. I want to know how do I make a link such as
"http://www.nationstates.net/nation=davinhia" not say what it is, but say "Davinhia." And when someone click on it, it goes to the actual link...

I also read the "FAQ" stickie, I didn't find what I wanted. If you can help me, please do.
Year: 2013
- President: x (PP)
- Vice President: x (PP)
- House Majority Leader: x (IKP)
- Senate Majority Leader: x (PP)
Capital City: Grove Street
RP Population: 45 Million
RP Military Population: 37 Thousand
5, peacetime

User avatar
Cymrea
Powerbroker
 
Posts: 8694
Founded: Feb 10, 2006
Democratic Socialists

Postby Cymrea » Mon Jul 21, 2014 1:02 am

If I understand your request correctly, use the button labelled "nation".

Or you could manually add [ nation] [/nation ] on either side of the nation's name. Just take out the spaces and make sure you spell it correctly. This only works within the NS website, though. :)
Last edited by Cymrea on Mon Jul 21, 2014 1:04 am, edited 2 times in total.
Pronounced: KIM-ree-ah. Formerly the Empire of Thakandar, founded December 2002. IIWiki | Factbook | Royal Cymrean Forces
Proud patron of: Halcyon Arms and of their Cymrea-class drone carrier
Storefronts: Ravendyne Defence Industries | Bank of Cymrea | Pork Place BBQ
Puppets: Persica Prime (W40K), Winter Bastion (SW), Atramentar
✎ Member - ℘ædagog | Cheese Sandwich is best Pony | 1870 (2.0) United Kingdom of Cambria
SEATTLE SEAHAWKS OREGON DUCKS

User avatar
District XIV
Negotiator
 
Posts: 5990
Founded: Dec 01, 2012
Ex-Nation

Postby District XIV » Mon Jul 21, 2014 1:02 am

Here ya' go:
Code: Select all
[url=http://nationstates.net/nation=davinhia]Davinhia[/url]


Which turns into:

Davinhia


Basically, if you want that text leading to a different location, change the URL. If you want the text different, change the text :)
Last edited by District XIV on Mon Jul 21, 2014 1:03 am, edited 1 time in total.

User avatar
Arkhangelskaya Separatisty
Political Columnist
 
Posts: 2
Founded: Jul 21, 2014
Ex-Nation

Postby Arkhangelskaya Separatisty » Mon Jul 21, 2014 1:03 am

Or Davinhia

Code: Select all
[nation]Davinhia[/nation]
Last edited by Arkhangelskaya Separatisty on Mon Jul 21, 2014 1:04 am, edited 1 time in total.

User avatar
Davinhia
Minister
 
Posts: 2024
Founded: Nov 18, 2013
Civil Rights Lovefest

Postby Davinhia » Mon Jul 21, 2014 1:15 am

Thanks, to each of you. I didn't really know how, and now I do... thanks.
Year: 2013
- President: x (PP)
- Vice President: x (PP)
- House Majority Leader: x (IKP)
- Senate Majority Leader: x (PP)
Capital City: Grove Street
RP Population: 45 Million
RP Military Population: 37 Thousand
5, peacetime


Return to Technical

Who is online

Users browsing this forum: Riemstagrad

Advertisement

Remove ads